Skip to content

Commit

Permalink
Allow clippy::never_loop for both loops that need it (#152)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Aylett <andrew@aylett.co.uk>
  • Loading branch information
andrewaylett committed Jan 28, 2024
1 parent d01ddf0 commit d596c9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Expand Up @@ -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 {
Expand Down

0 comments on commit d596c9d

Please sign in to comment.