Function uninit_slice

Source
pub fn uninit_slice<T, F, R>(len: usize, f: F) -> R
where F: FnOnce(&mut [MaybeUninit<T>]) -> R,
Expand description

Allocates an uninit slice from the threadlocal stack.