Function into_range_unchecked

Source
pub(crate) fn into_range_unchecked(
    len: usize,
    (start, end): (Bound<usize>, Bound<usize>),
) -> Range<usize> 
Expand description

Converts a pair of ops::Bounds into ops::Range without performing any bounds checking or (in debug) overflow checking.