Skip to content

Commit 5d5e62d

Browse files
committed
book: fix typo
1 parent ec4362d commit 5d5e62d

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)