diff options
Diffstat (limited to 'crates/libsyntax2/src/grammar/expressions/atom.rs')
-rw-r--r-- | crates/libsyntax2/src/grammar/expressions/atom.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/libsyntax2/src/grammar/expressions/atom.rs b/crates/libsyntax2/src/grammar/expressions/atom.rs index 4f03862b1..57a887f84 100644 --- a/crates/libsyntax2/src/grammar/expressions/atom.rs +++ b/crates/libsyntax2/src/grammar/expressions/atom.rs | |||
@@ -130,7 +130,7 @@ fn lambda_expr(p: &mut Parser) -> CompletedMarker { | |||
130 | let m = p.start(); | 130 | let m = p.start(); |
131 | p.eat(MOVE_KW); | 131 | p.eat(MOVE_KW); |
132 | params::param_list_opt_types(p); | 132 | params::param_list_opt_types(p); |
133 | if fn_ret_type(p) { | 133 | if opt_fn_ret_type(p) { |
134 | block(p); | 134 | block(p); |
135 | } else { | 135 | } else { |
136 | expr(p); | 136 | expr(p); |