We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
if let
1 parent d547272 commit 53c92c3Copy full SHA for 53c92c3
src/tools/rust-analyzer/lib/ungrammar/Cargo.toml
@@ -1,7 +1,7 @@
1
[package]
2
name = "ungrammar"
3
description = "A DSL for describing concrete syntax trees"
4
-version = "1.14.2"
+version = "1.14.3"
5
license = "MIT OR Apache-2.0"
6
repository = "https://github.com/matklad/ungrammar"
7
authors = ["Aleksey Kladov <aleksey.kladov@gmail.com>"]
src/tools/rust-analyzer/lib/ungrammar/rust.ungram
@@ -488,7 +488,7 @@ MatchArm =
488
Attr* Pat guard:MatchGuard? '=>' Expr ','?
489
490
MatchGuard =
491
- 'if' Expr
+ 'if' ('let' Pat '=')? Expr
492
493
ReturnExpr =
494
Attr* 'return' Expr?
0 commit comments