about summary refs log tree commit diff
path: root/library/core/src/iter/adapters
AgeCommit message (Expand)AuthorLines
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
2021-01-23Auto merge of #80715 - JulianKnodt:skip_opt, r=nagisabors-6/+4
2021-01-22Rollup merge of #81173 - lukaslueg:intersperse_docs, r=m-ou-seMara Bos-6/+4
2021-01-21Auto merge of #81152 - lzutao:intersperse_fold, r=m-ou-sebors-3/+4
2021-01-21Expand docs on Iterator::intersperseLukas Lueg-6/+4
2021-01-20Deprecate-in-future the constants superceded by RFC 2700bstrie-1/+1
2021-01-19Stop `fold` at first None when iterator yieldMara Bos-0/+2
2021-01-19Fix intersperse_foldLzu Tao-3/+2
2021-01-16Rollup merge of #80670 - the8472:fix-zip-trusted-random-access-composition, r...Mara Bos-0/+1
2021-01-14Rollup merge of #80567 - lukaslueg:intersperse_with, r=m-ou-seMara Bos-22/+134
2021-01-13Improve Iterator::intersperse_ docsLukas Lueg-2/+2
2021-01-13Add doc intralinksLukas Lueg-0/+6
2021-01-08Clean up branching in skipkadmin-6/+4
2021-01-07Remove FIXME-notesLukas Lueg-6/+0
2021-01-04doc -- list edit for consistencyoliver-1/+1
2021-01-04TrustedRandomAaccess spec composes incorrectly for nested iter::ZipsThe8472-0/+1
2020-12-31Add Iterator::intersperse_withLukas Lueg-22/+134
2020-12-30Add tracking issueCamelid-3/+3
2020-12-30Add Iterator::intersperseJonas Schievink-0/+80
2020-12-13bump rust version for peekable_next_if featureJustus K-2/+2
2020-12-13stabilize `peekable_next_if`Justus K-5/+2
2020-11-30Intra doc links for iterator adaptersAlexis Bourget-3/+2
2020-11-27Expand docs on Peekable::peek_mutLukas Lueg-5/+9
2020-11-23Add Peekable::peek_mutLukas Lueg-0/+37
2020-11-22Remove multiline `use`sWaffle-110/+58
2020-11-22Merge `use`s in core::iterWaffle-28/+16
2020-11-22Split iterator adaptors into individual modulesWaffle-2833/+2969
2020-11-07Convert a bunch of intra-doc linksCamelid-20/+20
2020-10-22change the order of type arguments on ControlFlowLeonora Tindall-5/+5