diff --git a/ntex/src/http/h1/encoder.rs b/ntex/src/http/h1/encoder.rs index ec33a2ea..9120eab2 100644 --- a/ntex/src/http/h1/encoder.rs +++ b/ntex/src/http/h1/encoder.rs @@ -544,6 +544,7 @@ fn write_content_length(mut n: u64, bytes: &mut BytesMut) { unsafe fn convert_usize(mut n: u64, bytes: &mut BytesMut) { let mut curr: isize = 39; + #[allow(clippy::uninit_assumed_init)] let mut buf: [u8; 41] = mem::MaybeUninit::uninit().assume_init(); buf[39] = b'\r'; buf[40] = b'\n';