Skip to content

Commit 6a66f10

Browse files
authored
Merge pull request #1428 from riking/patch-1
Reference wildcard patterns from underscore expr
2 parents cd8193e + 7f1e24a commit 6a66f10

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/expressions/underscore-expr.md

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Underscore expressions, denoted with the symbol `_`, are used to signify a
88
placeholder in a destructuring assignment. They may only appear in the left-hand
99
side of an assignment.
1010

11+
Note that this is distinct from the [wildcard pattern](../patterns.md#wildcard-pattern).
12+
1113
An example of an `_` expression:
1214

1315
```rust

0 commit comments

Comments
 (0)