070ce235f2
For ranges < usize we determine the number of items StepBy would yield and then store that in the range.end instead of the actual end. This significantly simplifies calculation of the loop induction variable especially in cases where StepBy::step (an usize) could overflow the Range's item type |
||
---|---|---|
.. | ||
array_chunks.rs | ||
by_ref_sized.rs | ||
chain.rs | ||
cloned.rs | ||
copied.rs | ||
cycle.rs | ||
enumerate.rs | ||
filter_map.rs | ||
filter.rs | ||
flat_map.rs | ||
flatten.rs | ||
fuse.rs | ||
inspect.rs | ||
intersperse.rs | ||
map.rs | ||
mod.rs | ||
peekable.rs | ||
scan.rs | ||
skip_while.rs | ||
skip.rs | ||
step_by.rs | ||
take_while.rs | ||
take.rs | ||
zip.rs |