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

WARNING: This is currently only implemented for types with a layout equal to T: u8. Any other type will panic.