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:
commit
f6f5cdfcec
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user