This commit is contained in:
Aleksey Kladov 2018-08-24 02:14:10 +03:00
parent dc40f1298a
commit a66c94af1b
11 changed files with 28 additions and 28 deletions

View file

@ -130,7 +130,7 @@ fn lambda_expr(p: &mut Parser) -> CompletedMarker {
let m = p.start();
p.eat(MOVE_KW);
params::param_list_opt_types(p);
if fn_ret_type(p) {
if opt_fn_ret_type(p) {
block(p);
} else {
expr(p);