We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is copied from rust-lang/book#102 (comment) as requested:
In https://doc.rust-lang.org/book/mutability.html at the end of the Mutability section it has these examples:
let (mut x, y) = (5, 6); fn foo(mut x: i32) {
I think there should be some following text, e.g.
In the link I was given: http://rust-lang.github.io/book/variable-bindings.html#Mutable there is an updated explanation which explains this clearly.
The text was updated successfully, but these errors were encountered:
I tried fixing this one: #33720
Sorry, something went wrong.
let(mut x, y) =
Rollup merge of rust-lang#33720 - mark-summerfield:patch-1, r=stevekl…
f6f5cdf
…abnik Clarified that `let(mut x, y) =` only makes x mutable, not y Closes rust-lang#33716
No branches or pull requests
This is copied from rust-lang/book#102 (comment) as requested:
In https://doc.rust-lang.org/book/mutability.html at the end of the Mutability section it has these examples:
I think there should be some following text, e.g.
Note that here, x is mutable, but y is not.
In the link I was given: http://rust-lang.github.io/book/variable-bindings.html#Mutable there is an updated explanation which explains this clearly.
The text was updated successfully, but these errors were encountered: