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 <flokli@flokli.de>
This commit is contained in:
parent
d8a6cc862d
commit
0472b55b20
1 changed files with 0 additions and 1 deletions
|
@ -15,7 +15,6 @@ const EMPTY_BYTES: &[u8; 8] = &[0u8; 8];
|
||||||
/// The length of the size field, in bytes is always 8.
|
/// The length of the size field, in bytes is always 8.
|
||||||
const LEN_SIZE: usize = 8;
|
const LEN_SIZE: usize = 8;
|
||||||
|
|
||||||
#[allow(dead_code)]
|
|
||||||
/// Read a "bytes wire packet" from the AsyncRead.
|
/// Read a "bytes wire packet" from the AsyncRead.
|
||||||
/// Rejects reading more than `allowed_size` bytes of payload.
|
/// Rejects reading more than `allowed_size` bytes of payload.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in a new issue