Rollup merge of #33720 - mark-summerfield:patch-1, r=steveklabnik

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

Closes #33716
This commit is contained in:
Manish Goregaokar 2016-05-19 21:21:07 +05:30
commit f6f5cdfcec

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