We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2012262 commit 180345aCopy full SHA for 180345a
1 file changed
src/lib.rs
@@ -1273,10 +1273,10 @@ where
1273
#[inline]
1274
fn is_whitespace(c: char) -> bool {
1275
match c {
1276
- ' ' | '\x09'...'\x0d' => true,
+ ' ' | '\x09'..='\x0d' => true,
1277
_ if c > '\x7f' => match c {
1278
'\u{0085}' | '\u{00a0}' | '\u{1680}' => true,
1279
- '\u{2000}'...'\u{200a}' => true,
+ '\u{2000}'..='\u{200a}' => true,
1280
'\u{2028}' | '\u{2029}' | '\u{202f}' | '\u{205f}' => true,
1281
'\u{3000}' => true,
1282
_ => false,
0 commit comments