diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-12-19 16:15:19 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2019-12-19 16:15:19 +0000 |
commit | f00904e996e9bc59749fb0d2696a711e9b881ae3 (patch) | |
tree | 69341c02cf6de6238102bef32014c11839fce289 /crates/ra_parser/src/grammar/expressions | |
parent | aee2eee3626020cbfa338d94f5371b0d3c8d82e3 (diff) | |
parent | 0ed8ce096d3ae9ee4027ab4723958a021ef24194 (diff) |
Merge #2598
2598: Touch up TokenSet a bit r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_parser/src/grammar/expressions')
-rw-r--r-- | crates/ra_parser/src/grammar/expressions/atom.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_parser/src/grammar/expressions/atom.rs b/crates/ra_parser/src/grammar/expressions/atom.rs index 6f5545a83..4ac1d6334 100644 --- a/crates/ra_parser/src/grammar/expressions/atom.rs +++ b/crates/ra_parser/src/grammar/expressions/atom.rs | |||
@@ -444,7 +444,7 @@ fn match_arm(p: &mut Parser) -> BlockLike { | |||
444 | // } | 444 | // } |
445 | attributes::outer_attributes(p); | 445 | attributes::outer_attributes(p); |
446 | 446 | ||
447 | patterns::pattern_list_r(p, TokenSet::empty()); | 447 | patterns::pattern_list_r(p, TokenSet::EMPTY); |
448 | if p.at(T![if]) { | 448 | if p.at(T![if]) { |
449 | match_guard(p); | 449 | match_guard(p); |
450 | } | 450 | } |