diff options
author | edef <edef@edef.eu> | 2024-05-08T01·00+0000 |
---|---|---|
committer | edef <edef@edef.eu> | 2024-05-08T04·07+0000 |
commit | 0472b55b2009825e761ace8d17475d7f057ac924 (patch) | |
tree | 14433ec61830776224bd9b9cccecb190d76b23a8 /tvix | |
parent | d8a6cc862dadd2f49548561290bae5b5722f86f3 (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>
Diffstat (limited to 'tvix')
-rw-r--r-- | tvix/nix-compat/src/wire/bytes/mod.rs | 1 |
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 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. /// |