From e64acba454c7b3e988793ad388601c82904c2036 Mon Sep 17 00:00:00 2001 From: edef Date: Wed, 18 Oct 2023 11:52:06 +0000 Subject: fix(tvix/nix-compat/nar/wire): correct Node::Some doc comment 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 --- tvix/nix-compat/src/nar/wire/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, } } -- cgit 1.4.1