From 0472b55b2009825e761ace8d17475d7f057ac924 Mon Sep 17 00:00:00 2001 From: edef Date: Wed, 8 May 2024 01:00:34 +0000 Subject: fix(nix-compat/wire/bytes/reader): drop allow(dead_code) 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 --- tvix/nix-compat/src/wire/bytes/mod.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'tvix/nix-compat/src/wire') diff --git a/tvix/nix-compat/src/wire/bytes/mod.rs b/tvix/nix-compat/src/wire/bytes/mod.rs index 5ed5e15a6497..161894f5f749 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. /// -- cgit 1.4.1