rust/library/core
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
..
benches Specialize StepBy<Range<{integer}>> 2023-06-23 00:17:34 +02:00
primitive_docs Add primitive documentation to libcore 2021-09-12 02:23:08 +00:00
src Specialize StepBy<Range<{integer}>> 2023-06-23 00:17:34 +02:00
tests Specialize StepBy<Range<{integer}>> 2023-06-23 00:17:34 +02:00
Cargo.toml Update rand in the stdlib tests, and remove the getrandom feature from it 2023-01-04 14:52:41 -08:00