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.
1 parent 72cf387 commit a96031dCopy full SHA for a96031d
src/control-flow/if-let-expressions.md
@@ -19,6 +19,7 @@ Rust.
19
<details>
20
21
* `if let` can be more concise than `match`, e.g., when only one case is interesting. In contrast, `match` requires all branches to be covered.
22
+ * For the similar use case consider demonstrating a newly stabilized [`let else`](https://github.com/rust-lang/rust/pull/93628) feature.
23
* A common usage is handling `Some` values when working with `Option`.
24
* Unlike `match`, `if let` does not support guard clauses for pattern matching.
25
0 commit comments