mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
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 |
||
---|---|---|
.. | ||
ascii | ||
char | ||
hash | ||
num | ||
str | ||
any.rs | ||
array.rs | ||
ascii.rs | ||
fmt.rs | ||
iter.rs | ||
lib.rs | ||
ops.rs | ||
pattern.rs | ||
slice.rs | ||
str.rs | ||
tuple.rs |