Minor, use T!

This commit is contained in:
Aleksey Kladov
2020-06-09 13:36:08 +02:00
parent d4d384e4c8
commit 16943e533c
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ use super::*;
pub(super) const PATTERN_FIRST: TokenSet = expressions::LITERAL_FIRST
.union(paths::PATH_FIRST)
.union(token_set![BOX_KW, REF_KW, MUT_KW, L_PAREN, L_BRACK, AMP, UNDERSCORE, MINUS, DOT]);
.union(token_set![T![box], T![ref], T![mut], T!['('], T!['['], T![&], T![_], T![-], T![.]]);
pub(crate) fn pattern(p: &mut Parser) {
pattern_r(p, PAT_RECOVERY_SET);