summary refs log tree commit diff
path: root/src/libcore/iter/range.rs
AgeCommit message (Expand)AuthorLines
2020-07-14Auto merge of #73490 - CAD97:range-unchecked-stepping, r=Amanieubors-12/+12
2020-06-30Deny unsafe ops in unsafe fns, part 2LeSeulArtichaut-8/+22
2020-06-18Use step_unchecked more liberallyCAD97-12/+12
2020-05-30Rollup merge of #72368 - CAD97:rangeto, r=dtolnayRalf Jung-9/+1
2020-05-29Rollup merge of #72413 - CAD97:char-range, r=dtolnayRalf Jung-1/+73
2020-05-28FIx off-by-one in char::steps_betweenCAD97-1/+1
2020-05-21Add safety annotations in iter::rangeCAD97-0/+4
2020-05-21Use Step::forward_unchecked in RangeInclusive::nextCAD97-1/+5
2020-05-21impl Step for charCAD97-0/+64
2020-05-19Resolve overflow behavior for RangeFromCAD97-9/+1
2020-05-18Add some more `rfold` implementations.Nicholas Nethercote-0/+15
2020-05-18Make `fold` standalone.Nicholas Nethercote-0/+13
2020-05-15Auto merge of #69659 - CAD97:step-rework-take-3, r=Amanieubors-171/+411
2020-05-14improve step_integer_impls macroCAD97-29/+6
2020-05-13Improve Step::forward/backward for optimizationCAD97-14/+12
2020-05-13Improve comments in iter::StepCAD97-3/+3
2020-04-25Bump rustfmt to most recently shippedMark Rousskov-1/+1
2020-04-20Stop accessing module level int consts via crate::<Ty>Linus Färnstrand-1/+0
2020-04-08Adjust Step::forward_checked docs for large typesCAD97-2/+5
2020-04-08Redesign the Step traitCAD97-172/+434
2020-02-08Remove problematic specialization from RangeInclusiveCAD97-22/+12
2020-02-01Remove some unsound specializationsMatthew Jasper-0/+4
2019-12-22Format the worldMark Rousskov-11/+18
2019-11-20Clarify Step DocumentationPhlosioneer-2/+6
2019-06-09implement nth_back for RangeInclusiveAdrian Friedli-0/+28
2019-06-08implement nth_back for RangeAdrian Friedli-0/+13
2019-05-25Add Step::sub_usizeTim Vermeulen-0/+35
2019-04-18libcore => 2018Taiki Endo-5/+5
2019-03-26impl TrustedLen for 128-bit ranges tooJosh Stone-2/+2
2019-03-26Implement useful steps_between for all integersJosh Stone-49/+8
2019-02-23Rollup merge of #58122 - matthieu-m:range_incl_perf, r=dtolnayMazdak Farrokhzad-3/+58
2019-02-10libs: doc commentsAlexander Regueiro-5/+5
2019-02-09Fix exhaustion of inclusive range try_fold and try_rfoldMatthieu M-2/+12
2019-02-03RangeInclusive internal iteration performance improvement.Matthieu M-3/+48
2018-12-25Remove licensesMark Rousskov-10/+0
2018-11-09Fix #[cfg] for step impl on rangesDaniel Alley-4/+4
2018-08-30fix u32 steps_between for 16-bit systemsAndre Bogus-2/+10
2018-07-13Changed implementation of the third field to make LLVM optimize it better.kennytm-21/+21
2018-07-13Change RangeInclusive to a three-field struct.kennytm-70/+30
2018-06-06Revert "Remove TryFrom impls that might become conditionally-infallible with ...Simon Sapin-73/+2
2018-04-09Auto merge of #49673 - ollie27:stab, r=sfacklerbors-1/+1
2018-04-05Correct a few stability attributesOliver Middleton-1/+1
2018-04-03Fix warning when compilin libcore on 16bit targets.Vadzim Dambrouski-0/+1
2018-03-27Remove TryFrom impls that might become conditionally-infallible with a portab...Simon Sapin-2/+72
2018-03-15Stabilize `inclusive_range` library feature.kennytm-8/+4
2018-03-03core: Update stability attributes for FusedIteratorUlrik Sverdrup-3/+3
2018-03-03core: Stabilize FusedIteratorUlrik Sverdrup-3/+3
2018-02-08Auto merge of #48057 - scottmcm:less-match-more-compare, r=dtolnaybors-16/+12
2018-02-07Simplify RangeInclusive::next[_back]Scott McMurray-16/+12
2018-02-07Rollup merge of #47944 - oberien:unboundediterator-trustedlen, r=blussManish Goregaokar-0/+3