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 9c812bc commit ab053d3Copy full SHA for ab053d3
src/parse.rs
@@ -108,7 +108,7 @@ fn skip_whitespace(input: Cursor) -> Cursor {
108
s = s.advance(1);
109
continue;
110
}
111
- b if b <= 0x7f => {}
+ b if b.is_ascii() => {}
112
_ => {
113
let ch = s.chars().next().unwrap();
114
if is_whitespace(ch) {
@@ -456,7 +456,7 @@ fn cooked_byte_string(mut input: Cursor) -> Result<Cursor, Reject> {
456
457
_ => break,
458
},
459
- b if b < 0x80 => {}
460
461
462
0 commit comments