{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreiglv657rat6qdcdk576jzafx5wb6d2eoqicgpminbvcoragg46kqm",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mldoolzkwhl2"
},
"path": "/t/sized-or-sizeable-str-e-g-str-const-n-usize/24213#post_11",
"publishedAt": "2026-05-08T09:20:40.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "Thank you Jordan! I guess this isn’t to everybody’s liking, but I will highlight it as a solution. That one I actually already offer as `from_utf8_bytes` and `from_utf8_bytes_unchecked`.\n\n_Edit:_ just noticed: not quite, as you use a reference. I’ll add those variants.",
"title": "Sized (or Sizeable) str, e.g. str<const N: usize>"
}