From a7db8abab7ff04f3e9b7cb7013107dcf37de8687 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Sun, 10 Jan 2021 17:47:12 +0200 Subject: Use T! for bool keywords --- crates/parser/src/grammar/type_args.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/parser') 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) { expressions::literal(p); m.complete(p, CONST_ARG); } - TRUE_KW | FALSE_KW => { + T![true] | T![false] => { expressions::literal(p); m.complete(p, CONST_ARG); } -- cgit v1.2.3