mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
Use T! for bool keywords
This commit is contained in:
parent
035fed5f9f
commit
a7db8abab7
2 changed files with 22 additions and 1 deletions
|
@ -55,7 +55,7 @@ fn generic_arg(p: &mut Parser) {
|
|||
expressions::literal(p);
|
||||
m.complete(p, CONST_ARG);
|
||||
}
|
||||
TRUE_KW | FALSE_KW => {
|
||||
T![true] | T![false] => {
|
||||
expressions::literal(p);
|
||||
m.complete(p, CONST_ARG);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue