We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ecafcc commit b13b32aCopy full SHA for b13b32a
src/ext/h1_reason_phrase.rs
@@ -147,7 +147,7 @@ const fn is_valid_byte(b: u8) -> bool {
147
//
148
// The 0xFF comparison is technically redundant, but it matches the text of the spec more
149
// clearly and will be optimized away.
150
- #[allow(unused_comparisons)]
+ #[allow(unused_comparisons, clippy::absurd_extreme_comparisons)]
151
const fn is_obs_text(b: u8) -> bool {
152
0x80 <= b && b <= 0xFF
153
}
0 commit comments