about summary refs log tree commit diff
path: root/library/core/src/iter/traits
AgeCommit message (Expand)AuthorLines
2023-04-01Improve grammar of Iterator.partition_in_placeShawn M Moore-2/+2
2023-03-27update documentationThe 8472-8/+10
2023-03-27replace advance_by returning usize with Result<(), NonZeroUsize>The 8472-18/+22
2023-03-27Change advance(_back)_by to return `usize` instead of `Result<(), usize>`The 8472-24/+32
2023-03-21Rollup merge of #106434 - clubby789:document-sum-result, r=the8472nils-4/+42
2023-03-20Add example for `Option::product` and `Result::product`clubby789-4/+36
2023-03-20Rollup merge of #109337 - frengor:collect_into_doc, r=scottmcmMatthias Krüger-4/+4
2023-03-19Improve collect_into documentationfren_gor-4/+4
2023-03-18Mark DoubleEndedIterator as #[const_trait] using rustc_do_not_const_check, im...onestacked-5/+19
2023-03-17Make the `Step` implementations const.onestacked-1/+2
2023-03-17Auto merge of #108862 - Mark-Simulacrum:bootstrap-bump, r=pietroalbinibors-1/+1
2023-03-15unequal → not equalgimbles-1/+1
2023-03-15Bump to latest betaMark Rousskov-1/+1
2023-02-26Rollup merge of #107890 - obeis:mapping-to-unit, r=cjgillotMatthias Krüger-0/+1
2023-02-24Rollup merge of #106541 - fee1-dead-contrib:no-const-check-no, r=thomccDylan DPC-0/+76
2023-02-23Add lint against `Iterator::map` receiving a callable that returns `()`Obei Sideg-0/+1
2023-02-17Rollup merge of #104068 - yancyribbens:partial-cmp-doc-update, r=scottmcmMatthias Krüger-2/+20
2023-02-16rustdoc: Update the description to include PartialOrd elementsyancy-2/+20
2023-02-13Auto merge of #107634 - scottmcm:array-drain, r=thomccbors-0/+39
2023-02-12Add a doc note about why `Chain` is not `ExactSizeIterator`Scott McMurray-0/+21
2023-02-04Allow canonicalizing the `array::map` loop in trusted casesScott McMurray-0/+39
2023-01-31implement const iterator using `rustc_do_not_const_check`Deadbeef-0/+76
2023-01-27Remove `ControlFlow::{BREAK, CONTINUE}`Scott McMurray-12/+12
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-04Link to Option/Result for `Iterator::sum/product`clubby789-0/+6
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-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-08Add `rustc_on_unimplemented` to `Sum` and `Product` trait.Nixon Enraght-Moony-0/+8
2022-11-28Add example for iterator_flattenFabian Hintringer-0/+8
2022-10-29use consistent terminologyTshepang Mbambo-1/+1
2022-10-14more dupe word typosRageking8-1/+1
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-25Clarify Iterator::rposition code exampleGuillaume Gomez-3/+3
2022-09-24Auto merge of #100845 - timvermeulen:iter_compare, r=scottmcmbors-62/+81
2022-09-16Add `const_trait`sDeadbeef-0/+1
2022-08-21Use internal iteration in `Iterator::{cmp_by, partial_cmp_by, eq_by}`Tim Vermeulen-62/+81
2022-08-12fill-in tracking issue for `feature(iter_array_chunks)`Maybe Waffle-1/+1
2022-08-01Use `#[track_caller]` to make panic in `Iterator::array_chunks` nicerMaybe Waffle-0/+1
2022-08-01Use `array::IntoIter` for the `ArrayChunks` remainderRoss MacArthur-2/+4
2022-08-01Add `Iterator::array_chunks()`Ross MacArthur-1/+41