]> git.lizzy.rs Git - rust.git/blobdiff - crates/ra_syntax/src/grammar.ron
Handle closure return types
[rust.git] / crates / ra_syntax / src / grammar.ron
index 9ffa9095bc351e5dac3d217c69c48edc7e41087e..a228fa9d6eb38255ca3d54c4cb441f1c512b503a 100644 (file)
@@ -426,7 +426,7 @@ Grammar(
         "PathExpr": (options: ["Path"]),
         "LambdaExpr": (
             options: [
-                "ParamList",
+                "ParamList", "RetType",
                 ["body", "Expr"],
             ]
         ),