Function into_slice_range

pub(crate) const fn into_slice_range(len: usize, bounds: (Bound<usize>, Bound<usize>)) -> Range<usize>

Converts pair of ops::Bounds into ops::Range. Panics on overflowing indices.