summary refs log tree commit diff
path: root/library/core/src/iter/traits
AgeCommit message (Expand)AuthorLines
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
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
2022-07-14lint: remove unnecessary parenthesesGunnlaugur Þór Briem-1/+1
2022-07-14doc: clearer and more correct Iterator::scanGunnlaugur Þór Briem-6/+11
2022-06-30clarify that ExactSizeIterator::len returns the remaining lengthThe 8472-5/+11
2022-06-21Add `Iterator::next_chunk`Ross MacArthur-0/+42
2022-06-08Suggest using `iter()` or `into_iter()` for `Vec`Chayim Refael Friedman-0/+4
2022-04-26Better error messages when collecting into `[T; n]`Michael Goulet-19/+13
2022-04-23Auto merge of #90602 - mbartlett21:const-intoiterator, r=oli-obkbors-1/+2
2022-04-14Remove trailing whitespaceBoyd Kane-1/+1
2022-04-14docs: add link from zip to unzipBoyd Kane-0/+4
2022-03-24Auto merge of #87667 - the8472:document-in-place-iter, r=yaahcbors-0/+4
2022-03-22add perf side effect docs to `Iterator::cloned()`Andre Bogus-0/+16
2022-03-21add module-level documentation for vec's in-place iterationThe8472-0/+4
2022-03-18Rollup merge of #94115 - scottmcm:iter-process-by-ref, r=yaahcMatthias Krüger-1/+2
2022-03-15Unstably constify `impl IntoIterator for I: ~const Iterator`mbartlett21-1/+2