Skip to content

Commit 65337a7

Browse files
committed
fixed if let guards documentation
1 parent ca56392 commit 65337a7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/expressions/match-expr.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ MatchArms ->
1818
MatchArm -> OuterAttribute* Pattern MatchArmGuard?
1919
2020
MatchArmGuard -> `if` Expression
21-
| if Expression
22-
| if let Pattern = Expression
21+
| `if` `let` Pattern Expression
2322
```
2423
<!-- TODO: The exception above isn't accurate, see https://github.com/rust-lang/reference/issues/569 -->
2524

0 commit comments

Comments
 (0)