pub fn new_uninit_slice_in(len: usize, alloc: A) -> Box<[mem::MaybeUninit<T>], A> {
        unsafe { RawVec::with_capacity_in(len, alloc).into_box(len) }
    }
Converts to `Box<[T], A>`.

# Safety

As with [`MaybeUninit::assume_init`],
it is up to the caller to guarantee that the values
really are in an initialized state.
Calling this when the content is not yet fully initialized
causes immediate undefined behavior.

[`MaybeUninit::assume_init`]: mem::MaybeUninit::assume_init

# Examples

```
#![feature(new_uninit)]

let mut values = Box::<[u32]>::new_uninit_slice(3);

let values = unsafe {
/
benchmarks/haystacks/code/rust-library.rs