Function getrandom::util::slice_assume_init_mut

source ·
pub unsafe fn slice_assume_init_mut<T>(slice: &mut [MaybeUninit<T>]) -> &mut [T]
Expand description

Polyfill for maybe_uninit_slice feature’s MaybeUninit::slice_assume_init_mut. Every element of slice must have been initialized.