simplify
This commit is contained in:
@@ -342,6 +342,11 @@ impl SyntaxKind {
|
||||
'^' => CARET,
|
||||
'%' => PERCENT,
|
||||
'_' => UNDERSCORE,
|
||||
'.' => DOT,
|
||||
':' => COLON,
|
||||
'=' => EQ,
|
||||
'!' => EXCL,
|
||||
'-' => MINUS,
|
||||
_ => return None,
|
||||
};
|
||||
Some(tok)
|
||||
|
||||
Reference in New Issue
Block a user