Skip to content

Commit 3060cf2

Browse files
committed
Fix two typos.
1 parent 8900872 commit 3060cf2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ struct Parser<'a, 'b> {
192192
/// https://drafts.csswg.org/css-syntax-3/#whitespace
193193
fn is_whitespace(byte: u8) -> bool {
194194
match byte {
195-
b'\t' | b'\n' | b'\r' | b'\x0c' => true,
195+
b'\t' | b'\n' | b'\r' | b' ' => true,
196196
_ => false,
197197
}
198198
}
@@ -201,7 +201,7 @@ fn is_whitespace(byte: u8) -> bool {
201201
fn is_letter(byte: u8) -> bool {
202202
match byte {
203203
b'A'...b'Z' |
204-
b'a'...b'a' => true,
204+
b'a'...b'z' => true,
205205
_ => false,
206206
}
207207
}

0 commit comments

Comments
 (0)