Function num::range_inclusive

source ·
pub fn range_inclusive<A>(start: A, stop: A) -> RangeInclusive<A> 
where A: Add<Output = A> + PartialOrd + Clone + One,
Expand description

Return an iterator over the range [start, stop]