diff options
Diffstat (limited to 'crates/ra_syntax/src/grammar/expressions')
-rw-r--r-- | crates/ra_syntax/src/grammar/expressions/atom.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/grammar/expressions/atom.rs b/crates/ra_syntax/src/grammar/expressions/atom.rs index 04087fd60..452e91485 100644 --- a/crates/ra_syntax/src/grammar/expressions/atom.rs +++ b/crates/ra_syntax/src/grammar/expressions/atom.rs | |||
@@ -362,7 +362,7 @@ fn match_arm(p: &mut Parser) -> BlockLike { | |||
362 | patterns::pattern(p); | 362 | patterns::pattern(p); |
363 | } | 363 | } |
364 | if p.eat(IF_KW) { | 364 | if p.eat(IF_KW) { |
365 | expr_no_struct(p); | 365 | expr(p); |
366 | } | 366 | } |
367 | p.expect(FAT_ARROW); | 367 | p.expect(FAT_ARROW); |
368 | let ret = expr_stmt(p); | 368 | let ret = expr_stmt(p); |