Skip to content

Commit 7ef8a5b

Browse files
committed
Typo fix.
1 parent 33ff928 commit 7ef8a5b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ast.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ pub enum ComponentValue {
4343
Colon, // :
4444
Semicolon, // ;
4545
Comma, // ,
46-
IncludeMath, // ~=
46+
IncludeMatch, // ~=
4747
DashMatch, // |=
4848
PrefixMatch, // ^=
4949
SuffixMatch, // $=

tokenizer.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ fn next_component_value(tokenizer: &mut Tokenizer) -> Option<Node> {
238238
},
239239
'}' => { tokenizer.position += 1; CloseCurlyBracket },
240240
'~' => {
241-
if tokenizer.starts_with("~=") { tokenizer.position += 2; IncludeMath }
241+
if tokenizer.starts_with("~=") { tokenizer.position += 2; IncludeMatch }
242242
else { tokenizer.position += 1; Delim(c) }
243243
},
244244
_ => {

0 commit comments

Comments
 (0)