Skip to content

Commit b13b32a

Browse files
tottotoseanmonstar
authored andcommitted
chore(ext): allow clippy::absurd_extreme_comparisons for readability
1 parent 5ecafcc commit b13b32a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ext/h1_reason_phrase.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ const fn is_valid_byte(b: u8) -> bool {
147147
//
148148
// The 0xFF comparison is technically redundant, but it matches the text of the spec more
149149
// clearly and will be optimized away.
150-
#[allow(unused_comparisons)]
150+
#[allow(unused_comparisons, clippy::absurd_extreme_comparisons)]
151151
const fn is_obs_text(b: u8) -> bool {
152152
0x80 <= b && b <= 0xFF
153153
}

0 commit comments

Comments
 (0)