Function try_into_slice_range
pub(crate) const fn try_into_slice_range(len: usize, (start, end): (Bound<usize>, Bound<usize>)) -> Result<Range<usize>, RangeError>
Converts pair of ops::Bounds into ops::Range.
Returns None on overflowing indices.