Function rayon::math::simplify_range
source ยท pub(crate) fn simplify_range(
range: impl RangeBounds<usize>,
len: usize,
) -> Range<usize>
Expand description
Normalize arbitrary RangeBounds
to a Range
pub(crate) fn simplify_range(
range: impl RangeBounds<usize>,
len: usize,
) -> Range<usize>
Normalize arbitrary RangeBounds
to a Range