diff options
| author | Colin Wallace <wallacoloo@gmail.com> | 2015-09-17 21:39:19 -0700 |
|---|---|---|
| committer | Colin Wallace <wallacoloo@gmail.com> | 2015-09-17 21:39:19 -0700 |
| commit | cbc9517b023f3484816b59fd13993027c412748d (patch) | |
| tree | 1014e9390d5f01f2e1fe30a8d3f97ae6a8e0dfff | |
| parent | cff04117064ddee95f425c49f22c8aa5a3a665d4 (diff) | |
| download | rust-cbc9517b023f3484816b59fd13993027c412748d.tar.gz rust-cbc9517b023f3484816b59fd13993027c412748d.zip | |
Clarify where let accepts a pattern, spatially
| -rw-r--r-- | src/doc/trpl/guessing-game.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/guessing-game.md b/src/doc/trpl/guessing-game.md index 3a4328562f8..94280aa4a33 100644 --- a/src/doc/trpl/guessing-game.md +++ b/src/doc/trpl/guessing-game.md @@ -147,7 +147,7 @@ a few tricks up their sleeves. For example, they’re [immutable][immutable] by default. That’s why our example uses `mut`: it makes a binding mutable, rather than immutable. `let` doesn’t -take a name on the left hand side, it actually accepts a +take a name on the left hand side of the assignment, it actually accepts a ‘[pattern][patterns]’. We’ll use patterns later. It’s easy enough to use for now: |
