Function into_range

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

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