summary refs log tree commit diff
path: root/library/core/src/iter
AgeCommit message (Expand)AuthorLines
2025-06-20Add diagnostic items for ClippySamuel Tardieu-0/+1
2025-06-13100% safe implementation of RepeatNSoveu-118/+43
2025-06-07Fix usage of `bootstrap` in coreUrgau-4/+1
2025-06-03Add `iter` macroOli Scherer-0/+34
2025-05-25Auto merge of #141086 - a1phyr:spec_advance_by, r=jhprattbors-5/+31
2025-05-17Switch library rustc_unimplemented to use `Self` and `This`mejrs-20/+17
2025-05-16Implement `advance_by` via `try_fold` for `Sized` iteratorsBenoît du Garreau-5/+31
2025-05-06Rollup merge of #136183 - hkBst:patch-25, r=AmanieuGuillaume Gomez-230/+225
2025-05-06Update iterator.rs to use arrays by valueMarijn Schouten-230/+225
2025-05-06Rollup merge of #140598 - ShE3py:iter-misc-docs, r=workingjubileeStuart Cook-0/+1
2025-05-04Revert "Avoid unused clones in Cloned<I> and Copied<I>"The 8472-163/+20
2025-05-02docs: alias `limit` to `Iterator::take`, cite `[u8]::utf8_chunks` in `Utf8Chu...Lieselotte-0/+1
2025-05-01Rollup merge of #139780 - ongardie:iterator-take-by_ref-example, r=workingjub...Guillaume Gomez-0/+18
2025-04-27Rollup merge of #139090 - yotamofek:pr/peekable-next-if-docs, r=tgross35Matthias Krüger-3/+3
2025-04-19added doctest for Enumerate::next_indexJonathan Gruner-0/+21
2025-04-19add next_index to EnumerateJonathan Gruner-0/+12
2025-04-13docs: Add example to `Iterator::take` with `by_ref`Diego Ongaro-0/+18
2025-04-13Avoid unused clones in Cloned<I> and Copied<I>Thalia Archibald-20/+163
2025-04-06doc changesizarma-6/+6
2025-03-30use `diagnostic::on_unimplemented` insteadmejrs-2/+2
2025-03-28fix docs for `Peekable::next_if{_eq}`Yotam Ofek-3/+3
2025-03-23Rollup merge of #136040 - mu001999-contrib:cleanup, r=Mark-SimulacrumMichael Goulet-55/+0
2025-03-22core: optimize `RepeatN`joboet-4/+55
2025-03-19use thenbendn-5/+1
2025-03-16Rollup merge of #138329 - scottmcm:assert-hint, r=Mark-Simulacrum许杰友 Jieyou Xu (Joe)-0/+9
2025-03-16Rollup merge of #138082 - thaliaarchi:slice-cfg-not-test, r=thomcc许杰友 Jieyou Xu (Joe)-8/+8
2025-03-11Rollup merge of #135987 - hkBst:patch-20, r=joboetJakub Beránek-3/+15
2025-03-10debug-assert that the size_hint is well-formed in `collect`Scott McMurray-0/+9
2025-03-09Clarify iterator by_ref docsMarijn Schouten-3/+15
2025-03-07Rollup merge of #138034 - thaliaarchi:use-prelude-size-of, r=tgross35Matthias Krüger-2/+2
2025-03-06library: Use size_of from the prelude instead of importedThalia Archibald-2/+2
2025-03-06Remove #[cfg(not(test))] gates in coreThalia Archibald-8/+8
2025-03-06Rollup merge of #135895 - hkBst:patch-15, r=joboetMichael Goulet-5/+11
2025-03-02Document workings of successors more clearlyMarijn Schouten-5/+11
2025-02-18Fix typo in hidden internal docs of `TrustedRandomAccess`Frank Steffahn-4/+4
2025-02-15Rollup merge of #135687 - joseluis:feat-reexport_from_coroutine, r=scottmcmJacob Pratt-4/+4
2025-02-09Rename field in OnceWith from gen to makeMichael Goulet-7/+7
2025-02-08Document `Sum::sum` returns additive identities for `[]`Jaken Herman-1/+6
2025-02-05Fix link in from_fn.rsMarijn Schouten-1/+1
2025-01-26Document purpose of closure in from_fn.rs more clearlyMarijn Schouten-2/+2
2025-01-25Remove unused trait BoundedSizeMu001999-55/+0
2025-01-18re-export `core::iter::FromCoroutine`joseLuís-4/+4
2025-01-11Add inherent versions of MaybeUninit methods for slicesltdk-3/+1
2025-01-08update version placeholdersPietro Albini-1/+1
2025-01-05Clarified the documentation on core::iter::from_fn and core::iter::successorsranger-ross-0/+3
2025-01-04do not in-place-iterate over flatmap/flattenThe 8472-32/+2
2024-12-26Rollup merge of #134782 - wtlin1228:docs/iter-rposition, r=Mark-SimulacrumJacob Pratt-0/+1
2024-12-26Impl FromIterator for tuples with arity 1-12Sebastian Hahn-33/+35
2024-12-26Fix formattingSebastian Hahn-19/+19
2024-12-26docs: update code example for Iterator#rpositionwtlin1228-0/+1