{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreienamps42mv74sdluz7ajivcm7sfxnwvfpaffiy6lssra5mktiqlm",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mgtkzewadbi2"
},
"path": "/t/alloc-only-hashmap/24071#post_2",
"publishedAt": "2026-03-11T23:44:27.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "JarredAllen:\n\n> What stops us from just moving the type definition to `alloc` and removing the default type parameter there, and providing the default again via a type alias in `std`?\n\nI don't actually know if that works. If it does, then I agree this seems obvious.\n\n(I feel like people think it doesn't, and that's why it hasn't been done already, but maybe the gestalt is wrong and we can just do it?)",
"title": "`alloc`-only `HashMap`?"
}