summary refs log tree commit diff
path: root/src/libcore/iter/range.rs
AgeCommit message (Expand)AuthorLines
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
2018-02-04Override try_[r]fold for RangeInclusiveScott McMurray-1/+45
2018-02-04Implement TrustedLen for Take<Repeat> and Take<RangeFrom>oberien-0/+3
2018-01-09Add `min` and `last` specialisations for `Range`varkor-0/+10
2018-01-06Use `next` and `next_back`varkor-16/+8
2018-01-05Fix behaviour after iterator exhaustionvarkor-3/+9
2018-01-04Remove min from RangeFromvarkor-5/+0
2018-01-04Remove RangeInclusive::sumvarkor-18/+1
2018-01-04Add max and sum specialisations for Rangevarkor-1/+25
2018-01-04Add min specialisation for RangeFrom and last for RangeInclusivevarkor-0/+10
2018-01-04Add min and max specialisations for RangeInclusivevarkor-0/+10
2017-08-29Add blanket TryFrom impl when From is implemented.Jimmy Cuadra-0/+2
2017-08-01Add an overflow check in the Iter::next() impl for Range<_>oyvindln-3/+10
2017-07-08Implement O(1)-time Iterator::nth for Range*Simon Sapin-5/+84
2017-07-08Factorize some macros in iter/range.rsSimon Sapin-57/+28
2017-07-08Remove Step::steps_between, rename steps_between_by_one to steps_betweenSimon Sapin-51/+10
2017-07-08Remove unused Step methodsSimon Sapin-34/+0
2017-07-08Remove unused Add bounds in iterator for ranges impls.Simon Sapin-23/+8
2017-07-01Delete deprecated & unstable range-specific `step_by`Scott McMurray-213/+0
2017-05-31Deprecate iter::range::StepByScott McMurray-0/+12
2017-05-31Deprecate Range*::step_byScott McMurray-0/+6
2017-05-30RangeFrom should have an infinite size_hintScott McMurray-0/+5
2017-05-26Rollup merge of #42169 - scottmcm:new-step-trait-issue, r=alexcrichtonCorey Farwell-4/+4
2017-05-23Give step_trait a distinct tracking issue from step_byScott McMurray-4/+4
2017-05-21Return a correct size_hint for degenerate inclusive rangesScott McMurray-0/+4
2017-05-21Make RangeInclusive just a two-field structScott McMurray-120/+52
2017-04-23Step::replace_one should put a one, not a zero (Issue #41492)Scott McMurray-6/+6
2017-02-03Bump version, upgrade bootstrapAlex Crichton-1/+0
2016-12-30impl Step for iu128Simonas Kazlauskas-0/+2
2016-11-07Auto merge of #36365 - matthew-piziak:silent-overflow, r=eddybbors-6/+6
2016-11-04Link the tracking issue for TrustedLenUlrik Sverdrup-1/+1
2016-10-20Implement TrustedLen for more iteratorsUlrik Sverdrup-3/+23
2016-10-20Introduce iterator trait TrustedLenUlrik Sverdrup-1/+4
2016-10-11remove erroneous semicolonsMatthew Piziak-6/+6
2016-10-09use UFCS with Add::add and Sub::sub instead of unstable attributesMatthew Piziak-12/+6
2016-10-01std: Correct stability attributes for some implementationsOliver Middleton-2/+4
2016-09-12remove ExactSizeIterator from RangeInclusive<u/isize>Alex Burka-2/+9
2016-09-09fix silent overflows on `Step` implsMatthew Piziak-0/+6
2016-08-26accumulate vector and assert for RangeFrom and RangeInclusive examplesMatthew Piziak-22/+10
2016-08-24Use `#[prelude_import]` in `libcore`.Jeffrey Seyfried-5/+1
2016-08-18Add a FusedIterator trait.Steven Allen-1/+23
2016-08-15remove `.take(10)` from `Range` exampleMatthew Piziak-1/+1
2016-08-15accumulate into vector and assert, instead of printingMatthew Piziak-15/+2
2016-07-03std: Stabilize APIs for the 1.11.0 releaseAlex Crichton-32/+137
2016-04-18Split core::iter module implementation into partsUlrik Sverdrup-0/+548