Clarify where let accepts a pattern, spatially

This commit is contained in:
Colin Wallace 2015-09-17 21:39:19 -07:00
parent cff0411706
commit cbc9517b02

View file

@ -147,7 +147,7 @@ a few tricks up their sleeves.
For example, theyre [immutable][immutable] by default. Thats why our example
uses `mut`: it makes a binding mutable, rather than immutable. `let` doesnt
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]. Well use patterns later. Its easy enough
to use for now: