Closed changhe3 closed 2 years ago
https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.new_uninit_slice
This can be implemented as Vec::with_capacity(len).into_backing_buffer_forget_elems().
Vec::with_capacity(len).into_backing_buffer_forget_elems()
👍
https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.new_uninit_slice