diff options
author | Aleksey Kladov <[email protected]> | 2019-12-19 16:13:08 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-12-19 16:13:33 +0000 |
commit | 0ed8ce096d3ae9ee4027ab4723958a021ef24194 (patch) | |
tree | 187fb7c2e069cb53682c0ea3b5566854cb17232f /crates/ra_parser/src/grammar/expressions | |
parent | a766f63650aa08697f68e749d274c2c84d1e3eee (diff) |
Touch up TokenSet a bit
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 | } |