Rollup merge of #29059 - tshepang:typo, r=nikomatsakis
This commit is contained in:
commit
bcbad7ba8c
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ If a [pattern][patterns] matches successfully, it binds any appropriate parts of
|
||||||
the value to the identifiers in the pattern, then evaluates the expression. If
|
the value to the identifiers in the pattern, then evaluates the expression. If
|
||||||
the pattern doesn’t match, nothing happens.
|
the pattern doesn’t match, nothing happens.
|
||||||
|
|
||||||
If you’d rather to do something else when the pattern does not match, you can
|
If you want to do something else when the pattern does not match, you can
|
||||||
use `else`:
|
use `else`:
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue