diff options
| author | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2015-10-15 00:16:13 +0200 |
|---|---|---|
| committer | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2015-10-15 00:16:13 +0200 |
| commit | 5d5e62d7d88a9c263ddcd5f942b151e066f3d27b (patch) | |
| tree | 8301e317a1f5bfc2f8690ca1b41c1b8dea920b22 | |
| parent | ec4362da562a4b591a7d120c6677e14ea713481a (diff) | |
book: fix typo
| -rw-r--r-- | src/doc/trpl/if-let.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/if-let.md b/src/doc/trpl/if-let.md index 4872ed6a773..332498ce0f4 100644 --- a/src/doc/trpl/if-let.md +++ b/src/doc/trpl/if-let.md @@ -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 |
