Skip to content

Commit

Permalink
book: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tshepang committed Oct 14, 2015
1 parent ec4362d commit 5d5e62d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/trpl/if-let.md
Expand Up @@ -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 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`:

```rust
Expand Down

0 comments on commit 5d5e62d

Please sign in to comment.