Merge pull request #1428 from riking/patch-1

Reference wildcard patterns from underscore expr
This commit is contained in:
Eric Huss 2023-11-21 17:57:18 +00:00 committed by GitHub
commit 6a66f10957
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,8 @@ Underscore expressions, denoted with the symbol `_`, are used to signify a
placeholder in a destructuring assignment. They may only appear in the left-hand
side of an assignment.
Note that this is distinct from the [wildcard pattern](../patterns.md#wildcard-pattern).
An example of an `_` expression:
```rust