Produce an iterator which starts at the range start and ends at the value end (exclusive).
start
end
use std::iter::range; assert!(range(0, 3).next().is_some()); assert_eq!(range(0, 3).collect::<Vec>(), [0, 1, 2]);