about summary refs log tree commit diff
path: root/tvix/nix-compat/src/nar
diff options
context:
space:
mode:
authoredef <edef@edef.eu>2023-10-18T11·52+0000
committeredef <edef@edef.eu>2023-10-18T12·22+0000
commite64acba454c7b3e988793ad388601c82904c2036 (patch)
tree8ef4b704f1107c67125c9bbf0d756d84a8070b5e /tvix/nix-compat/src/nar
parent2cae6a02b9267e794c77cc052927dcfc5839d979 (diff)
fix(tvix/nix-compat/nar/wire): correct Node::Some doc comment r/6855
It is *eventually* followed by a Node, but there is some stuff in
between.

Change-Id: Ie7c7b462828bd3e066f4a7e774895f30b82763ef
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9768
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/nix-compat/src/nar')
-rw-r--r--tvix/nix-compat/src/nar/wire/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tvix/nix-compat/src/nar/wire/mod.rs b/tvix/nix-compat/src/nar/wire/mod.rs
index fc8b8d3510aa..b9e021249543 100644
--- a/tvix/nix-compat/src/nar/wire/mod.rs
+++ b/tvix/nix-compat/src/nar/wire/mod.rs
@@ -126,7 +126,8 @@ tag::make! {
     pub enum Entry[0] {
         /// End of directory
         None = TOK_PAR,
-        /// Directory entry, which must be followed by [Node]
+        /// Directory entry
+        /// Followed by a name string, [TOK_NOD], and a [Node].
         Some = TOK_ENT,
     }
 }