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