From 5c362aa03e7abf2cb7d5bb652c5e891878c9b2b2 Mon Sep 17 00:00:00 2001 From: Andrew Aylett Date: Fri, 26 Jan 2024 21:08:07 +0000 Subject: [PATCH] Allow clippy::never_loop for both loops that need it Signed-off-by: Andrew Aylett --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 5c3a209..083ef53 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1208,6 +1208,7 @@ fn parse_headers_iter_uninit<'a>( let mut b; + #[allow(clippy::never_loop)] let value_slice = 'value: loop { // eat white space between colon and value 'whitespace_after_colon: loop {