aboutsummaryrefslogtreecommitdiff
path: root/crates/parser/src
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-01-10 15:53:39 +0000
committerGitHub <[email protected]>2021-01-10 15:53:39 +0000
commite1430d822e20635170c8da92b928d4d89dd1f680 (patch)
treeb74085aa9e933c790fe221fb1e02da8cfa20f28e /crates/parser/src
parent035fed5f9f7c062da7d23190dab1a7021fd48a5d (diff)
parenta7db8abab7ff04f3e9b7cb7013107dcf37de8687 (diff)
Merge #7237
7237: Use T! for bool keywords r=matklad a=lnicola Co-authored-by: LaurenČ›iu Nicola <[email protected]>
Diffstat (limited to 'crates/parser/src')
-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 }