Function slice_insert

pub(in ::collections::btree::node) 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.

Safety

The slice has more than idx elements.