aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorLaurenČ›iu Nicola <[email protected]>2021-01-10 15:47:12 +0000
committerLaurenČ›iu Nicola <[email protected]>2021-01-10 15:47:12 +0000
commita7db8abab7ff04f3e9b7cb7013107dcf37de8687 (patch)
treeb74085aa9e933c790fe221fb1e02da8cfa20f28e /crates
parent035fed5f9f7c062da7d23190dab1a7021fd48a5d (diff)
Use T! for bool keywords
Diffstat (limited to 'crates')
-rw-r--r--crates/parser/src/grammar/type_args.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/parser/src/grammar/type_args.rs b/crates/parser/src/grammar/type_args.rs
index debb23fea..42cd426bd 100644
--- a/crates/parser/src/grammar/type_args.rs
+++ b/crates/parser/src/grammar/type_args.rs
@@ -55,7 +55,7 @@ fn generic_arg(p: &mut Parser) {
55 expressions::literal(p); 55 expressions::literal(p);
56 m.complete(p, CONST_ARG); 56 m.complete(p, CONST_ARG);
57 } 57 }
58 TRUE_KW | FALSE_KW => { 58 T![true] | T![false] => {
59 expressions::literal(p); 59 expressions::literal(p);
60 m.complete(p, CONST_ARG); 60 m.complete(p, CONST_ARG);
61 } 61 }