unsafe fn slice_insert<T>(slice: &mut [MaybeUninit<T>], idx: usize, val: T)Expand description
Inserts a value into a slice of initialized elements followed by one uninitialized element.
§Safety
The slice has more than idx elements.
unsafe fn slice_insert<T>(slice: &mut [MaybeUninit<T>], idx: usize, val: T)Inserts a value into a slice of initialized elements followed by one uninitialized element.
The slice has more than idx elements.