about summary refs log tree commit diff
path: root/library/core/src/iter
AgeCommit message (Expand)AuthorLines
2024-04-25remove trivial boundslcnr-13/+7
2024-04-24Rollup merge of #124308 - CBSpeir:diagnostic-item-enumerate, r=compiler-errorsLeón Orell Valerian Liehr-0/+1
2024-04-24Error on using `yield` without also using `#[coroutine]` on the closureOli Scherer-1/+1
2024-04-23Add diagnostic item for std::iter::EnumerateChristopher B. Speir-0/+1
2024-04-22Stabilize generic `NonZero`.Markus Reiter-3/+6
2024-04-18Rollup merge of #123406 - krtab:fix_remainder_iterchunk, r=scottmcmJubilee-1/+14
2024-04-16Rollup merge of #123859 - krtab:uneeded_clone, r=cuviperGuillaume Gomez-8/+8
2024-04-16Remove uneeded clones now that TrustedStep implies CopyArthur Carcano-8/+8
2024-04-14Auto merge of #107462 - WaffleLapkin:from_iterator_for_tuple, r=dtolnaybors-0/+33
2024-04-08Rollup merge of #123564 - scottmcm:step-by-div-zero, r=joboetMatthias Krüger-31/+49
2024-04-07Fix typo in library/core/src/iter/traits/iterator.rsGabriel Dolberg-1/+1
2024-04-06Don't emit divide-by-zero panic paths in `StepBy::len`Scott McMurray-31/+49
2024-04-04force exhaustion in iter::ArrayChunks::into_remainderArthur Carcano-1/+14
2024-04-03Add docs for `FromIterator<(AE, BE)> for (A, B)`Maybe Waffle-0/+19
2024-04-03Implement `FromIterator<(AE, BE)>` for `(impl Default+Extend<AE>, impl Defaul...Maybe Waffle-0/+14
2024-03-25Import the 2021 prelude in the core crateDaniel Paoliello-3/+1
2024-03-22Implement `FusedIterator` for `gen` blockShoyu Vanilla-0/+1
2024-03-14Rollup merge of #122461 - the8472:fix-step-forward-unchecked, r=AmanieuMatthias Krüger-2/+28
2024-03-14fix unsoundness in Step::forward_unchecked for signed integersThe 8472-2/+28
2024-03-13Improve Step docsChristopher Durham-8/+7
2024-03-03Be more lax in `.into_iter()` suggestion when encountering `Iterator` methods...Esteban Küber-9/+0
2024-03-03Use root obligation on E0277 for some casesEsteban Küber-24/+45
2024-02-24library: use `addr_of!`Pavel Grigorenko-3/+3
2024-02-22Fix example.Markus Reiter-3/+4
2024-02-22Use generic `NonZero` everywhere in `core`.Markus Reiter-13/+13
2024-02-16Clarify the flatten specialization commentJosh Stone-2/+2
2024-02-16Specialize flattening iterators with only one inner itemJosh Stone-12/+209
2024-02-15Replace `NonZero::<_>::new` with `NonZero::new`.Markus Reiter-24/+20
2024-02-15Use generic `NonZero` internally.Markus Reiter-129/+133
2024-02-12iterator.rs: remove "Basic usage" textTshepang Mbambo-40/+0
2024-01-25use checked_add for upper boundYuri Astrakhan-2/+2
2024-01-25Update library/core/src/iter/adapters/intersperse.rsYuri Astrakhan-2/+2
2024-01-25fmtYuri Astrakhan-1/+8
2024-01-25Postpone .next() call until iterationYuri Astrakhan-29/+49
2024-01-25Boost intersperse(_with) performanceYuri Astrakhan-52/+74
2024-01-22Auto merge of #120196 - matthiaskrgr:rollup-id2zocf, r=matthiaskrgrbors-2/+0
2024-01-21Rollup merge of #120045 - scottmcm:unhide-repeat-n, r=Mark-SimulacrumMatthias Krüger-2/+0
2024-01-21Auto merge of #85528 - the8472:iter-markers, r=dtolnaybors-12/+105
2024-01-21Rollup merge of #118811 - EbbDrop:is-sorted-by-bool, r=Mark-SimulacrumNadrieril-13/+13
2024-01-20Use bool instead of PartiolOrd in is_sorted_byEbbDrop-13/+13
2024-01-20Rollup merge of #113142 - the8472:opt-cstr-display, r=Mark-SimulacrumMatthias Krüger-0/+16
2024-01-16Un-hide `iter::repeat_n`Scott McMurray-2/+0
2024-01-10Implement in-place iteratation markers for iter::{Copied, Cloned}The8472-4/+45
2024-01-10implement TrustedRandomAccess and TrustedLen for SkipThe8472-1/+51
2024-01-10implement TrustedLen for StepByThe8472-7/+9
2024-01-05Fix #119551: Rewrite Iterator::position default impl, storing the accumulatin...martha-6/+13
2023-12-10remove redundant importssurechen-9/+8
2023-11-28Auto merge of #110353 - the8472:in-place-flatten-chunks, r=cuviperbors-40/+316
2023-11-18Auto merge of #117525 - GKFX:remove_option_payload_ptr, r=petrochenkovbors-2/+4
2023-11-18Update based on petrochenkov's reviewGeorge Bateman-3/+4