{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreihg4a3zknwuohhppmb5fbae4j5j63ztzhzx6zmf4azihcsdab7qr4",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mllthqlhb5n2"
},
"path": "/t/interiorassign-trait-a-b/24291?page=2#post_27",
"publishedAt": "2026-05-11T17:33:47.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "To be pedantic, `:=` always denotes defining some new binding, not mutation or interior mutation. Rust has `let` and `let mut` instead of `:=`, but this does leave `:=` free for other uses. Instead Rust should never use `:=` for anything.\n\nNow one could consider safer partial initialisation than `MaybeUninit`, but recent conversations suggest other ideas, probably adding some new assignment syntax. And really tricky stuff like partial initialisation should probably not benefit from really short syntax.",
"title": "InteriorAssign trait { a := b }"
}