Skip to content

Commit 40578d2

Browse files
committed
Rollup merge of #29059 - tshepang:typo, r=nikomatsakis
2 parents a925385 + 5d5e62d commit 40578d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/if-let.md

Lines changed: 1 addition & 1 deletion
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)