rust/library/core/tests/iter
The 8472 070ce235f2 Specialize StepBy<Range<{integer}>>
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
2023-06-23 00:17:34 +02:00
..
adapters Specialize StepBy<Range<{integer}>> 2023-06-23 00:17:34 +02:00
traits
mod.rs Revert "Mark DoubleEndedIterator as #[const_trait] using rustc_do_not_const_check, implement const Iterator and DoubleEndedIterator for Range." 2023-04-08 08:18:29 +00:00
range.rs
sources.rs