summary refs log tree commit diff
path: root/library/core/src/iter
AgeCommit message (Expand)AuthorLines
2021-06-14Revert "implement TrustedRandomAccess for Take iterator adapter"The8472-22/+1
2021-05-22remove InPlaceIterable marker from Peekable due to unsoundnessThe8472-4/+1
2021-04-29Drop alias `reduce` for `fold` - we have a `reduce` functionJosh Triplett-1/+0
2021-04-25Auto merge of #84147 - cuviper:array-method-dispatch, r=nikomatsakis,m-ou-sebors-0/+1
2021-04-24Rollup merge of #84489 - amorison:issue-83969-fix, r=yaahcYuki Okushi-0/+5
2021-04-24Rollup merge of #83990 - the8472:take-trusted-len, r=dtolnayYuki Okushi-1/+22
2021-04-24Rollup merge of #80805 - camelid:iter-by_ref-example, r=steveklabnikYuki Okushi-23/+8
2021-04-23Mention FusedIterator case in Iterator::fuse docAdrien Morison-0/+5
2021-04-21Replace all `fmt.pad` with `debug_struct`Christiaan Dirkx-1/+1
2021-04-16Skip into_iter() for arrays before 2021Josh Stone-0/+1
2021-04-08implement TrustedRandomAccess for Take iterator adapterThe8472-1/+22
2021-04-07Update library/core/src/iter/traits/iterator.rslukaslueg-1/+1
2021-04-07Update library/core/src/iter/traits/iterator.rslukaslueg-1/+1
2021-04-06Merge branch 'master' into stab_peek_mutlukaslueg-5/+65
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-04-02Auto merge of #80965 - camelid:rename-doc-spotlight, r=jyn514bors-1/+2
2021-03-27Rollup merge of #82917 - cuviper:iter-zip, r=m-ou-seDylan DPC-2/+38
2021-03-27Add the tracking issue for `#![feature(iter_zip)]`Josh Stone-3/+3
2021-03-26update array missing `IntoIterator` msglcnr-2/+2
2021-03-26Stabilize `peekable_peek_mut`Lukas Lueg-14/+35
2021-03-26Add function core::iter::zipJosh Stone-2/+38
2021-03-22Rollup merge of #83272 - kornelski:takedocs, r=dtolnayDylan DPC-2/+13
2021-03-21implement TrustedRandomAccess for Ranges over int typesThe8472-1/+42
2021-03-20Remove redundant second exampleCamelid-28/+0
2021-03-19Rollup merge of #82570 - WaffleLapkin:split_whitespace_as_str, r=m-ou-seDylan DPC-2/+4
2021-03-18Expand documentation of Iterator::take and skipKornel-2/+13
2021-03-18Fix typo/inaccuracy in the documentation of Iterator::skip_whileFrank Steffahn-1/+1
2021-03-15Rename `#[doc(spotlight)]` to `#[doc(notable_trait)]`Camelid-1/+2
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