Clarified that let(mut x, y) = only makes x mutable, not y

This commit is contained in:
mark-summerfield 2016-05-18 17:43:22 +01:00
parent 9743c661b0
commit 98f1c35c77

View File

@ -55,6 +55,8 @@ fn foo(mut x: i32) {
# }
```
Note that here, the `x` is mutable, but not the `y`.
[pattern]: patterns.html
# Interior vs. Exterior Mutability