Auto merge of #28313 - rutsky:patch-4, r=alexcrichton
Follow-up fix for PR #28283.
This commit is contained in:
commit
5d9dc1d7a1
1 changed files with 1 additions and 1 deletions
|
|
@ -251,7 +251,7 @@ match x {
|
|||
}
|
||||
```
|
||||
|
||||
This prints `Some("Steve")`: We’ve bound the inner `name` to `a`.
|
||||
This prints `Some("Steve")`: we’ve bound the inner `name` to `a`.
|
||||
|
||||
If you use `@` with `|`, you need to make sure the name is bound in each part
|
||||
of the pattern:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue