summary refs log tree commit diff
path: root/library/core/src/iter
AgeCommit message (Expand)AuthorLines
2023-01-24Set version placeholders to 1.68Mark Rousskov-2/+2
2023-01-14Rollup merge of #106860 - anden3:doc-double-spaces, r=Dylan-DPCMatthias Krüger-1/+1
2023-01-14Rollup merge of #105526 - Xiretza:iter-from-generator-derive, r=scottmcmMatthias Krüger-4/+19
2023-01-14Remove various double spaces in source comments.André Vennberg-1/+1
2023-01-12add note for float iteratorPetar Dambovaliev-0/+5
2023-01-10Rollup merge of #105034 - HintringerFabian:improve_iterator_flatten_doc, r=cu...Yuki Okushi-0/+12
2023-01-09Relocate changesFabian Hintringer-12/+12
2023-01-08Rollup merge of #104163 - H4x5:once-repeat-with-debug, r=dtolnayMichael Goulet-2/+22
2023-01-07Don't derive Debug for `OnceWith` & `RepeatWith`Sky-2/+22
2023-01-07Change to immutable borrow when cloning element of RepeatNFolyd-1/+1
2022-12-30Rollup merge of #99244 - gthb:doc-improve-iterator-scan, r=m-ou-seMatthias Krüger-6/+11
2022-12-28Rollup merge of #106161 - meithecatte:iter-find-position, r=Mark-SimulacrumMatthias Krüger-0/+3
2022-12-28Rollup merge of #106172 - estebank:suggest-impl-trait, r=compiler-errorsMatthias Krüger-0/+1
2022-12-28Rollup merge of #103945 - H4x5:remove-iter-empty-hack, r=compiler-errorsfee1-dead-6/+1
2022-12-27Fix a formatting errorRetroSeven-1/+1
2022-12-26Suggest `impl Iterator` when possible for `_` return typeEsteban Küber-0/+1
2022-12-26Iterator::find: link to Iterator::position in docs for discoverabilityMaja Kądziołka-0/+3
2022-12-15doc: Fix a few small issuesHannes Körber-1/+1
2022-12-13Suggest `collect`ing into `Vec<_>`Esteban Küber-0/+1
2022-12-13Add result example + rewordingFabian Hintringer-4/+8
2022-12-10libcore: make result of iter::from_generator CloneXiretza-0/+1
2022-12-10libcore: make result type of iter::from_generator concreteXiretza-4/+18
2022-12-08Add `rustc_on_unimplemented` to `Sum` and `Product` trait.Nixon Enraght-Moony-0/+8
2022-12-05fix dupe word typosRageking8-1/+1
2022-11-28Add example for iterator_flattenFabian Hintringer-0/+8
2022-11-24Tune RepeatWith::try_fold and Take::for_each and Vec::extend_trustedScott McMurray-1/+37
2022-11-18Hide the items while waiting for the ACPScott McMurray-10/+4
2022-11-15`VecDeque::resize` should re-use the buffer in the passed-in elementScott McMurray-0/+207
2022-11-08document and improve array Guard typeThe 8472-3/+5
2022-11-07simplification: do not process the ArrayChunks remainder in fold()The 8472-18/+2
2022-11-07specialize iter::ArrayChunks::fold for TrustedRandomAccess itersThe 8472-3/+86
2022-11-03Remove `iter::Empty` hackSky-6/+1
2022-10-29use consistent terminologyTshepang Mbambo-1/+1
2022-10-19specialize slice_iter.copied().next_chunk()The 8472-0/+74
2022-10-14more dupe word typosRageking8-1/+1
2022-10-07Rollup merge of #102300 - scottmcm:simpler-fold-closures, r=Mark-SimulacrumDylan DPC-114/+35
2022-10-04Only allow ~const bounds for traits with #[const_trait]Oli Scherer-1/+1
2022-09-29Improve example of Iterator::reduceGuillaume Gomez-14/+5
2022-09-26Use a macro to not have to copy-paste `ConstFnMutClosure::new(&mut fold, Neve...Scott McMurray-114/+35
2022-09-26Rollup merge of #102263 - GuillaumeGomez:iterator-rposition-example, r=thomccfee1-dead-3/+3
2022-09-25Clarify Iterator::rposition code exampleGuillaume Gomez-3/+3
2022-09-24Rollup merge of #102186 - ink-feather-org:const_try_trait, r=fee1-deadMatthias Krüger-11/+22
2022-09-24Auto merge of #100845 - timvermeulen:iter_compare, r=scottmcmbors-62/+81
2022-09-23Constifed Try traitonestacked-11/+22
2022-09-16Add `const_trait`sDeadbeef-0/+1
2022-08-24Rollup merge of #100220 - scottmcm:fix-by-ref-sized, r=joshtriplettMatthias Krüger-12/+17
2022-08-21Use internal iteration in `Iterator::{cmp_by, partial_cmp_by, eq_by}`Tim Vermeulen-62/+81
2022-08-19Auto merge of #99541 - timvermeulen:flatten_cleanup, r=the8472bors-137/+238
2022-08-14Properly forward `ByRefSized::fold` to the inner iteratorScott McMurray-12/+17
2022-08-14fix(iter::skip): Optimize `next` and `nth` implementations of `Skip`austinabell-8/+19