pub fn uninit_slice<T, F, R>(len: usize, f: F) -> Rwhere
F: FnOnce(&mut [MaybeUninit<T>]) -> R,
Expand description
Allocates an uninit slice from the threadlocal stack.
pub fn uninit_slice<T, F, R>(len: usize, f: F) -> Rwhere
F: FnOnce(&mut [MaybeUninit<T>]) -> R,
Allocates an uninit slice from the threadlocal stack.