about summary refs log tree commit diff
diff options
context:
space:
mode:
authoredef <edef@edef.eu>2024-05-08T01·00+0000
committeredef <edef@edef.eu>2024-05-08T04·07+0000
commit0472b55b2009825e761ace8d17475d7f057ac924 (patch)
tree14433ec61830776224bd9b9cccecb190d76b23a8
parentd8a6cc862dadd2f49548561290bae5b5722f86f3 (diff)
fix(nix-compat/wire/bytes/reader): drop allow(dead_code) r/8084
We're using this in the NAR reader now.

Change-Id: I28f17b1ccedd62ffcaf2fa32b517f16bcd036d94
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11603
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
-rw-r--r--tvix/nix-compat/src/wire/bytes/mod.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/tvix/nix-compat/src/wire/bytes/mod.rs b/tvix/nix-compat/src/wire/bytes/mod.rs
index 5ed5e15a64..161894f5f7 100644
--- a/tvix/nix-compat/src/wire/bytes/mod.rs
+++ b/tvix/nix-compat/src/wire/bytes/mod.rs
@@ -15,7 +15,6 @@ const EMPTY_BYTES: &[u8; 8] = &[0u8; 8];
 /// The length of the size field, in bytes is always 8.
 const LEN_SIZE: usize = 8;
 
-#[allow(dead_code)]
 /// Read a "bytes wire packet" from the AsyncRead.
 /// Rejects reading more than `allowed_size` bytes of payload.
 ///