num::iter

Function 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]