Function slice_remove

pub(in ::collections::btree::node) unsafe fn slice_remove<T>(slice: &mut [MaybeUninit<T>], idx: usize) -> T

Removes and returns a value from a slice of all initialized elements, leaving behind one trailing uninitialized element.

Safety

The slice has more than idx elements.