{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreicscjjtw3ytzoufnh7j4z632s4glfthb47kb4dujz6ahw4wq5yuhe",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mlj44qh63s42"
},
"path": "/t/interiorassign-trait-a-b/24291#post_2",
"publishedAt": "2026-05-10T15:40:09.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "We don’t even have traits for customizing “assignment” operations for the non-interior-mutable case; we also don’t have special syntax for `borrow_mut()`-style projections in the non-interior-mutable case.\n\nA main design choice of Rust is to keep interior mutability limited / the exceptional case, as far as resonably possible; the syntax overhead is not a limitation, it’s intentional.",
"title": "InteriorAssign trait { a := b }"
}