{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreibjy36uqfhqvex75kq7pnwuanebbbavvdm7fvty23mlyyclz33mfe",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mkvfil2ai672"
},
"path": "/t/is-interning-as-a-general-primitive-something-that-should-be-in-the-standard-library/24215#post_3",
"publishedAt": "2026-05-02T15:29:46.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "Thank you for the feedback, Mr. robofinch.\n\nTo clarify: I was not suggesting that `Vec` belongs in `core`. The mention of `slice` and `Vec` was just to say they are not what here I wanted.\n\nYou are right that I was imprecise about `core` vs `alloc`. Since the implementation relies on `alloc`, the more accurate claim is that these concepts are absent from `core`/`alloc`, and if they were to be added anywhere, `alloc` would be the appropriate place. That was my mistake.\n\nThank you again for taking the time to respond.",
"title": "Is interning as a general primitive something that should be in the standard library?"
}