rust/library/core/src/iter
Thalia Archibald ed5f31ab01 Avoid unused clones in Cloned<I> and Copied<I>
Avoid cloning in `Cloned<I>` or copying in `Copied<I>` when elements are
only needed by reference or not at all. There is already some precedent
for this, given that `__iterator_get_unchecked` is implemented, which
can skip elements. The reduced clones are technically observable by a
user impl of `Clone`.
2025-04-13 16:23:12 -07:00
..
adapters Avoid unused clones in Cloned<I> and Copied<I> 2025-04-13 16:23:12 -07:00
sources core: optimize RepeatN 2025-03-22 13:35:46 +01:00
traits doc changes 2025-04-06 15:09:59 +05:30
mod.rs re-export core::iter::FromCoroutine 2025-01-18 16:35:54 +01:00
range.rs distinguish overflow and unimplemented in Step::steps_between 2024-11-21 15:49:55 -08:00
sources.rs re-export core::iter::FromCoroutine 2025-01-18 16:35:54 +01:00