{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreige2qhpaqt3hwdxts6wkb4ac2jmm6ehoeweb7hul7oxtdk7gkcewm",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mhamlfolabg2"
},
"path": "/t/just-mut-alongside-let-mut/24084#post_10",
"publishedAt": "2026-03-17T05:26:57.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "Huh? Unlike other languages, shadowing in rust is common practise. You transfer ownership of some variable to a fiction and assign the result back to the same name. Switching between mut and non-mut bindings is also common.\n\nI would be very surprised if people commonly lint _against_ shadowing rather than take advantage of it.",
"title": "Just `mut` alongside `let mut`"
}