summary refs log tree commit diff
path: root/library/core/src/iter/adapters
AgeCommit message (Expand)AuthorLines
2021-07-19replace Option combinators with try blockThe8472-6/+2
2021-07-16implement ConstSizeIntoIterator for &[T;N] in addition to [T;N]The8472-3/+52
2021-07-16rename specializing trait to ConstSizeIntoIteratorThe8472-4/+4
2021-07-15implement TrustedLen for Flatten/FlatMap if the U: IntoIterator == [T; N]The8472-1/+48
2021-06-30Make the specialized Fuse still deal with NoneJosh Stone-188/+66
2021-06-28Update to new bootstrap compilerMark Rousskov-23/+0
2021-06-25Fix a few misspellings.Eric Huss-1/+1
2021-06-22Add comments around code where ordering is important due for panic-safetyThe8472-0/+9
2021-06-19fix panic-safety in specialized Zip::next_backThe8472-1/+2
2021-06-16Add doc(hidden) to all __iterator_get_uncheckedJacob Hoffman-Andrews-0/+6
2021-06-09Auto merge of #85975 - the8472:revert-take-tra, r=scottmcmbors-22/+1
2021-06-03Revert "implement TrustedRandomAccess for Take iterator adapter"The8472-22/+1
2021-06-01Fix typo in internal documentation for `TrustedRandomAccess`Frank Steffahn-1/+1
2021-05-27Revert "Auto merge of #83770 - the8472:tra-extend, r=Mark-Simulacrum"The8472-4/+0
2021-05-26Auto merge of #83770 - the8472:tra-extend, r=Mark-Simulacrumbors-0/+4
2021-05-19remove InPlaceIterable marker from Peekable due to unsoundnessThe8472-4/+1
2021-05-18Auto merge of #84767 - scottmcm:try_trait_actual, r=lcnrbors-56/+79
2021-05-16mark internal inplace_iteration traits as hiddenThe8472-0/+1
2021-05-06Perf Experiment: Wait, what if I just skip the trait aliasScott McMurray-76/+76
2021-05-06Actually implement the feature in the compilerScott McMurray-1/+24
2021-05-06Bootstrapping preparation for the libraryScott McMurray-76/+76
2021-04-24Rollup merge of #83990 - the8472:take-trusted-len, r=dtolnayYuki Okushi-1/+22
2021-04-08add TrustedRandomAccess specialization to vec::extendThe8472-0/+4
2021-04-08implement TrustedRandomAccess for Take iterator adapterThe8472-1/+22
2021-04-06Merge branch 'master' into stab_peek_mutlukaslueg-2/+59
2021-04-06Update library/core/src/iter/adapters/peekable.rslukaslueg-1/+1
2021-04-04Rollup merge of #81619 - SkiFire13:resultshunt-inplace, r=the8472Dylan DPC-0/+23
2021-03-27Add the tracking issue for `#![feature(iter_zip)]`Josh Stone-2/+2
2021-03-26Stabilize `peekable_peek_mut`Lukas Lueg-2/+1
2021-03-26Add function core::iter::zipJosh Stone-2/+36
2021-03-19Rollup merge of #82570 - WaffleLapkin:split_whitespace_as_str, r=m-ou-seDylan DPC-2/+4
2021-03-05Prevent Zip specialization from calling __iterator_get_unchecked twice with t...Giacomo Stevanato-4/+9
2021-03-03Remove useless comparison since now self.index <= self.len is an invariantGiacomo Stevanato-1/+1
2021-03-03Increment self.len in specialized ZipImpl to avoid underflow in size_hintGiacomo Stevanato-0/+1
2021-03-02Auto merge of #82043 - tmiasko:may-have-side-effect, r=kennytmbors-32/+15
2021-02-27Add `as_str` method for split whitespace str iteratorsWaffle-2/+4
2021-02-25Auto merge of #82162 - cuviper:flat-fold, r=Mark-Simulacrumbors-20/+35
2021-02-22Auto merge of #81732 - m-ou-se:inherit-overflow-checks, r=Mark-Simulacrumbors-11/+12
2021-02-15Expand FlattenCompat foldsJosh Stone-20/+35
2021-02-15Turn may_have_side_effect into an associated constantTomasz Miąsko-32/+15
2021-02-14Use `#[rustc_inherit_overflow_checks]` instead of Add::add etc.Mara Bos-11/+12
2021-02-12Rollup merge of #81741 - sdroege:zip-trusted-random-access-specialization-pan...Dylan DPC-3/+4
2021-02-07fix formatting of std::iter::MapIbraheem Ahmed-0/+1
2021-02-06Rollup merge of #80011 - Stupremee:stabilize-peekable-next-if, r=dtolnayMara Bos-5/+2
2021-02-05Bump peekable_next_if to rust 1.51.0David Tolnay-2/+2
2021-02-04Increment `self.index` before calling `Iterator::self.a.__iterator_get_unchec...Sebastian Dröge-3/+4
2021-02-01Implement SourceIterator and InPlaceIterable for ResultShuntGiacomo Stevanato-0/+23
2021-02-01Implement `TrustedLen` for `iter::Fuse<I: TrustedLen>`Sebastian Dröge-1/+9
2021-02-01Add SAFETY comment for the `TrustedRandomAccess` impl of `iter::Fuse`Sebastian Dröge-0/+5
2021-01-23Manually fuse the inner iterator in FlattenCompatGiacomo Stevanato-2/+14