about summary refs log tree commit diff
path: root/library/core/src/iter
AgeCommit message (Expand)AuthorLines
2021-03-13Add `reverse` search alias for Iterator::rev()Sebastian Widua-0/+1
2021-03-05Prevent Zip specialization from calling __iterator_get_unchecked twice with t...Giacomo Stevanato-4/+9
2021-03-05Rollup merge of #82289 - SkiFire13:fix-issue-82282, r=m-ou-seMara-1/+2
2021-03-05Rollup merge of #81939 - kper:fixing-81584-allocate-in-iter, r=davidtwcoMara-0/+1
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-24Add suggestion for iterators in iteratorsKevin Per-0/+1
2021-02-22Auto merge of #81732 - m-ou-se:inherit-overflow-checks, r=Mark-Simulacrumbors-38/+65
2021-02-17Rollup merge of #82198 - SkiFire13:optimize-iter-is-sorted, r=sfacklerGuillaume Gomez-9/+16
2021-02-16Optimize Iterator::is_sorted_by by using Iterator::all for internal iterationGiacomo Stevanato-9/+16
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-38/+65
2021-02-13Add basic usage exampleCamelid-0/+15
2021-02-12Rollup merge of #81741 - sdroege:zip-trusted-random-access-specialization-pan...Dylan DPC-3/+4
2021-02-09Rollup merge of #81697 - xfix:every-doc-alias, r=Mark-SimulacrumDylan DPC-0/+1
2021-02-08Rollup merge of #81840 - ibraheemdev:patch-1, r=dtolnayMara Bos-0/+1
2021-02-07Better line groupingCamelid-2/+2
2021-02-07fix formatting of std::iter::MapIbraheem Ahmed-0/+1
2021-02-07Rollup merge of #81742 - sdroege:exact-size-iterator-correctness, r=kennytmGuillaume Gomez-0/+6
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-04Stabilize feature(iterator_fold_self): Iterator::reduceMara Bos-3/+1
2021-02-04Improve documentation of Iterator::{fold, reduce}.Mara Bos-5/+16
2021-02-04Rename Iterator::fold_first to reduce.Mara Bos-4/+4
2021-02-04Add a note about the correctness and the effect on unsafe code to the `ExactS...Sebastian Dröge-0/+6
2021-02-04Increment `self.index` before calling `Iterator::self.a.__iterator_get_unchec...Sebastian Dröge-3/+4
2021-02-03Add "every" as a doc alias for "all".Konrad Borowski-0/+1
2021-02-03Rollup merge of #81144 - nhwn:typo-map-while, r=jackh726Guillaume Gomez-1/+1
2021-02-02Rollup merge of #81599 - sdroege:fuse-trusted-len, r=m-ou-seJonas Schievink-1/+14
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-30Clarify that guarantees extend to other advancing iterator methods.The8472-3/+5
2021-01-29Rollup merge of #81306 - SkiFire13:fuse-flatten, r=cuviperYuki Okushi-2/+14
2021-01-23Manually fuse the inner iterator in FlattenCompatGiacomo Stevanato-2/+14
2021-01-23Allow libcore to be built with MIR inliningoli-0/+2
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-9/+52
2021-01-21Auto merge of #81152 - lzutao:intersperse_fold, r=m-ou-sebors-3/+4
2021-01-21Fix typoLukas Lueg-1/+1
2021-01-21Expand docs on Iterator::intersperseLukas Lueg-9/+52
2021-01-20Deprecate-in-future the constants superceded by RFC 2700bstrie-7/+1
2021-01-19Stop `fold` at first None when iterator yieldMara Bos-0/+2
2021-01-19Fix intersperse_foldLzu Tao-3/+2
2021-01-17fixed formatting typo in map_whileNathan Nguyen-1/+1
2021-01-16Rollup merge of #80670 - the8472:fix-zip-trusted-random-access-composition, r...Mara Bos-0/+1