Skip to content

Commit bcbad7b

Browse files
committed
Rollup merge of rust-lang#29059 - tshepang:typo, r=nikomatsakis
2 parents 2172d2a + 5d5e62d commit bcbad7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/if-let.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ If a [pattern][patterns] matches successfully, it binds any appropriate parts of
4141
the value to the identifiers in the pattern, then evaluates the expression. If
4242
the pattern doesn’t match, nothing happens.
4343

44-
If you’d rather to do something else when the pattern does not match, you can
44+
If you want to do something else when the pattern does not match, you can
4545
use `else`:
4646

4747
```rust

0 commit comments

Comments
 (0)