Function core::slice::index::into_slice_range
source · fn into_slice_range(
len: usize,
(start, end): (Bound<usize>, Bound<usize>)
) -> Range<usize> ⓘ
Expand description
Convert pair of ops::Bound
s into ops::Range
.
Panics on overflowing indices.