diff options
author | Florian Diebold <[email protected]> | 2019-12-20 15:41:32 +0000 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2019-12-20 17:16:11 +0000 |
commit | 2a8c9100bfb1294a469bc039a5b9597eabed7073 (patch) | |
tree | ae4e2dd0ae2c62baf79ec1197f5ec5f94a7645e5 /crates/ra_syntax/src/grammar.ron | |
parent | cfc50ff160d0af2ce5cd931c6d41161abfdb2fbd (diff) |
Handle closure return types
Fixes #2547.
Diffstat (limited to 'crates/ra_syntax/src/grammar.ron')
-rw-r--r-- | crates/ra_syntax/src/grammar.ron | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/grammar.ron b/crates/ra_syntax/src/grammar.ron index 9ffa9095b..a228fa9d6 100644 --- a/crates/ra_syntax/src/grammar.ron +++ b/crates/ra_syntax/src/grammar.ron | |||
@@ -426,7 +426,7 @@ Grammar( | |||
426 | "PathExpr": (options: ["Path"]), | 426 | "PathExpr": (options: ["Path"]), |
427 | "LambdaExpr": ( | 427 | "LambdaExpr": ( |
428 | options: [ | 428 | options: [ |
429 | "ParamList", | 429 | "ParamList", "RetType", |
430 | ["body", "Expr"], | 430 | ["body", "Expr"], |
431 | ] | 431 | ] |
432 | ), | 432 | ), |