Skip to content

Commit

Permalink
Allow clippy::never_loop for both loops that need it
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Aylett <[email protected]>
  • Loading branch information
andrewaylett committed Jan 26, 2024
1 parent d01ddf0 commit 5c362aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
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 5c362aa

Please sign in to comment.