Open AljoschaMeyer opened 1 month ago
This is an oversight, a PR to add it is welcome.
Would be happy to make a PR. Please tell me if a PR to the Done! https://github.com/rust-lang/rust/pull/127415main
branch of https://github.com/rust-lang/rust is not what to do here.
Random piece of feedback: https://std-dev-guide.rust-lang.org/about.html never tells the reader which repository, branches, directories, etc to interact with.
Here we go: https://github.com/rust-lang/rust/pull/127415
That's perfect thank you.
Hi,
while
Box
has bothtry_new_uninit_slice
andnew_uninit_slice_in
, it lackstry_new_uninit_slice_in
to fallibly allocate a slice of uninitialized memory with a given allocator. Is this deliberate or an oversight? What could be a good workaround for implementing this oneself?Apologies if this is not the appropriate repo for this sort of question/feature suggestion.
Cheers, Aljoscha