Skip to content

Commit 47cdb7d

Browse files
committed
fixed if let guards documentation
1 parent c5f2797 commit 47cdb7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/expressions/match-expr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ Moreover, by holding a shared reference while evaluating the guard, mutation ins
154154
155155
r[expr.match.if.let.guard]
156156
## If Let Guards
157-
Match arms can include `if let` guards to allow conditional pattern matching within the guard clause. This feature is currently unstable and requires the `#![feature(if_let_guard)]` attribute. It is tracked in issue [#51114](https://github.com/rust-lang/rust/issues/51114).
157+
Match arms can include `if let` guards to allow conditional pattern matching within the guard clause. This feature is currently unstable and requires the attribute. It is tracked in issue [#51114](https://github.com/rust-lang/rust/issues/51114).
158158
159159
r[expr.match.if.let.guard.syntax]
160160
```rust

0 commit comments

Comments
 (0)