Skip to content

Commit 6e41a0d

Browse files
committed
Fix the typo fix.
Remember to pass the g flag to sed!
1 parent 0b6cc29 commit 6e41a0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tokenizer.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ pub fn next_component_value(parser: &mut Parser) -> Option<(ComponentValue, Sour
160160
else { consume_ident_like(parser) }
161161
},
162162
'a'..'z' | 'A'..'Z' | '_' => consume_ident_like(parser),
163-
'[' => SquareBracketBlock(consume_block(parser, CloseSquareBraket)),
163+
'[' => SquareBracketBlock(consume_block(parser, CloseSquareBracket)),
164164
'\\' => {
165165
if !parser.starts_with("\\\n") { consume_ident_like(parser) }
166166
else { parser.position += 1; Delim(c) }
@@ -170,7 +170,7 @@ pub fn next_component_value(parser: &mut Parser) -> Option<(ComponentValue, Sour
170170
if parser.starts_with("^=") { parser.position += 2; PrefixMatch }
171171
else { parser.position += 1; Delim(c) }
172172
},
173-
'{' => CurlyBracketBlock(consume_block(parser, CloseCurlyBraket)),
173+
'{' => CurlyBracketBlock(consume_block(parser, CloseCurlyBracket)),
174174
'|' => {
175175
if parser.starts_with("|=") { parser.position += 2; DashMatch }
176176
else if parser.starts_with("||") { parser.position += 2; Column }

0 commit comments

Comments
 (0)