{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreiag4r353vgk3nukswt7hxfz7g3h7ma6ankxti45vqdnvhxauzixaq",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mjl467ry77n2"
},
"path": "/t/introduce-box-new-uninit-array-and-box-new-zeroed-array/24179#post_5",
"publishedAt": "2026-04-15T23:47:13.000Z",
"site": "https://internals.rust-lang.org",
"tags": [
"@pitaj"
],
"textContent": "@pitaj Using `TryFrom` adds a `.unwrap()` to the code, which shouldn't be needed (see original post). `.unwrap()` is also generally considered bad practice in general, and I feel like I shouldn't need one here.",
"title": "Introduce `Box::new_uninit_array` and `Box::new_zeroed_array`"
}