about summary refs log tree commit diff
path: root/library/core/tests/iter
AgeCommit message (Expand)AuthorLines
2025-01-26Put all coretests in a separate cratebjorn3-5167/+0
2024-12-26Impl FromIterator for tuples with arity 1-12Sebastian Hahn-0/+12
2024-12-24chore: fix typosoliveredget-1/+1
2024-12-06Rollup merge of #132187 - shahn:extend_more_tuples, r=dtolnayMatthias Krüger-0/+13
2024-11-21distinguish overflow and unimplemented in Step::steps_betweenmichirakara-12/+23
2024-10-31Add a `collect_into` tuple test caseSebastian Hahn-0/+13
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-5/+6
2024-09-09`RepeatN`: use MaybeUninitDeadbeef-0/+24
2023-01-16Implement DoubleEnded and ExactSize for Take<Repeat> and Take<RepeatWith>Michal Nazarewicz-0/+90
2024-07-29Reformat `use` declarations.Nicholas Nethercote-10/+17
2024-06-25regression test for leaks in the the Filter::next_chunk implementationThe 8472-0/+13
2024-06-20Add blank lines after module-level `//!` comments.Nicholas Nethercote-0/+1
2024-06-04Add function `core::iter::chain`Ross MacArthur-0/+8
2024-03-20step cfgsMark Rousskov-1/+1
2024-03-14fix unsoundness in Step::forward_unchecked for signed integersThe 8472-0/+5
2024-02-25Auto merge of #120393 - Urgau:rfc3373-non-local-defs, r=WaffleLapkinbors-0/+1
2024-02-17Allow newly added non_local_definitions in stdUrgau-0/+1
2024-02-16Specialize flattening iterators with only one inner itemJosh Stone-0/+66
2024-02-15Replace `NonZero::<_>::new` with `NonZero::new`.Markus Reiter-52/+28
2024-02-15Use generic `NonZero` internally.Markus Reiter-35/+47
2024-01-21Auto merge of #85528 - the8472:iter-markers, r=dtolnaybors-2/+15
2024-01-21Rollup merge of #118811 - EbbDrop:is-sorted-by-bool, r=Mark-SimulacrumNadrieril-2/+1
2024-01-20Use bool instead of PartiolOrd in is_sorted_byEbbDrop-2/+1
2024-01-11apply fmtklensy-21/+35
2024-01-10implement TrustedLen for StepByThe8472-2/+15
2023-12-10remove redundant importssurechen-3/+1
2023-10-06optimize zipping over array iteratorsThe 8472-1/+5
2023-08-14Implement Step for AsciiCharltdk-1/+17
2023-08-11Add Iterator::map_windowsFrank King-0/+284
2023-07-21Auto merge of #112699 - bluebear94:mf/more-is-sorted-tests, r=cuviperbors-1/+30
2023-06-23Specialize StepBy<Range<{integer}>>The 8472-0/+55
2023-06-16Add more comprehensive tests for is_sorted and friends+merlan #flirora-1/+30
2023-04-08Revert "Mark DoubleEndedIterator as #[const_trait] using rustc_do_not_const_c...Deadbeef-38/+0
2023-03-27replace advance_by returning usize with Result<(), NonZeroUsize>The 8472-84/+106
2023-03-27Change advance(_back)_by to return `usize` instead of `Result<(), usize>`The 8472-85/+89
2023-03-18Mark DoubleEndedIterator as #[const_trait] using rustc_do_not_const_check, im...onestacked-0/+38
2023-03-03Match unmatched backticks in library/est31-1/+1
2023-02-13Auto merge of #107634 - scottmcm:array-drain, r=thomccbors-0/+3
2023-02-04Allow canonicalizing the `array::map` loop in trusted casesScott McMurray-0/+3
2023-01-14Use associated items of `char` instead of freestanding items in `core::char`Lukas Markeffsky-1/+0
2022-11-24Tune RepeatWith::try_fold and Take::for_each and Vec::extend_trustedScott McMurray-0/+20
2022-11-15`VecDeque::resize` should re-use the buffer in the passed-in elementScott McMurray-0/+49
2022-11-07simplification: do not process the ArrayChunks remainder in fold()The 8472-1/+2
2022-08-24Rollup merge of #100220 - scottmcm:fix-by-ref-sized, r=joshtriplettMatthias Krüger-0/+21
2022-08-19Auto merge of #99541 - timvermeulen:flatten_cleanup, r=the8472bors-0/+42
2022-08-14Properly forward `ByRefSized::fold` to the inner iteratorScott McMurray-0/+21
2022-08-14fix(iter::skip): Optimize `next` and `nth` implementations of `Skip`austinabell-0/+31
2022-08-05Move `fold` logic to `iter_fold` method and reuse it in `count` and `last`Tim Vermeulen-0/+42
2022-08-01Remove incorrect impl `TrustedLen` for `ArrayChunks`Maybe Waffle-1/+1
2022-08-01Use `array::IntoIter` for the `ArrayChunks` remainderRoss MacArthur-24/+5