Function core::iter::range_inclusive [] [src]

pub fn range_inclusive<A>(start: A, stop: A) -> RangeInclusive<A> where A: Step + One + Clone
Unstable

: likely to be replaced by range notation and adapters

Returns an iterator over the range [start, stop].