{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreieql2ctzrej6ps7vbw2ryewzh33u2jjbtwd5g56qyu7wl5dziifx4",
    "uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mljqeighwcg2"
  },
  "path": "/t/interiorassign-trait-a-b/24291#post_15",
  "publishedAt": "2026-05-10T20:05:30.000Z",
  "site": "https://internals.rust-lang.org",
  "textContent": "bluelightzero:\n\n> For completeness, the current way to do this would be:\n\nIt could be defined to do that, or it could be defined to do:\n\n\n    if let Some(num) = &mut num { *num = 13; }\n\n\nor\n\n\n    *num.as_mut().unwrap() = 13;\n\n\nI didn't really mean to use `Option` as a motivating example, just a simple one.",
  "title": "InteriorAssign trait { a := b }"
}