about summary refs log tree commit diff
path: root/library/core/tests/iter/adapters
AgeCommit message (Expand)AuthorLines
2025-01-26Put all coretests in a separate cratebjorn3-3468/+0
2024-12-24chore: fix typosoliveredget-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-5/+6
2023-01-16Implement DoubleEnded and ExactSize for Take<Repeat> and Take<RepeatWith>Michal Nazarewicz-0/+90
2024-07-29Reformat `use` declarations.Nicholas Nethercote-8/+13
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-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-28/+19
2024-02-15Use generic `NonZero` internally.Markus Reiter-24/+27
2024-01-21Auto merge of #85528 - the8472:iter-markers, r=dtolnaybors-2/+5
2024-01-11apply fmtklensy-19/+27
2024-01-10implement TrustedLen for StepByThe8472-2/+5
2023-12-10remove redundant importssurechen-2/+1
2023-10-06optimize zipping over array iteratorsThe 8472-1/+5
2023-08-11Add Iterator::map_windowsFrank King-0/+284
2023-06-23Specialize StepBy<Range<{integer}>>The 8472-0/+55
2023-03-27replace advance_by returning usize with Result<(), NonZeroUsize>The 8472-59/+78
2023-03-27Change advance(_back)_by to return `usize` instead of `Result<(), usize>`The 8472-60/+64
2023-03-03Match unmatched backticks in library/est31-1/+1
2022-11-24Tune RepeatWith::try_fold and Take::for_each and Vec::extend_trustedScott McMurray-0/+20
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
2022-08-01Add `Iterator::array_chunks()`Ross MacArthur-0/+221
2022-07-18Add note to test about `Unfuse`Tim Vermeulen-0/+3
2022-07-18Fix `Skip::next` for non-fused inner iteratorsTim Vermeulen-0/+8
2022-03-09Remove unexpected #[cfg(target_pointer_width = "8")] in testsLoïc BRANSTETT-2/+0
2022-01-09eplace usages of vec![].into_iter with [].into_iterLucas Kent-5/+5
2021-12-04Use IntoIterator for array impl everywhere.Mara Bos-6/+5
2021-11-19Fix Iterator::advance_by contract inconsistencyThe8472-0/+44
2021-09-30implement advance_(back_)_by on more iteratorsThe8472-0/+17
2021-07-30Consistent spelling of "adapter" in the standard libraryFrank Steffahn-1/+1
2021-07-16implement ConstSizeIntoIterator for &[T;N] in addition to [T;N]The8472-0/+16
2021-07-15implement TrustedLen for Flatten/FlatMap if the U: IntoIterator == [T; N]The8472-0/+24
2021-06-20disable test on platforms that don't support unwindingThe8472-2/+4
2021-06-19fix panic-safety in specialized Zip::next_backThe8472-0/+25
2021-06-02Update expressions where we can use array's IntoIterator implementationMuhammad Mominul Huque-3/+1
2021-03-14Remove Option::{unwrap_none, expect_none}.Mara Bos-6/+6
2021-03-05Add relevant testGiacomo Stevanato-0/+23
2021-03-05Rollup merge of #82289 - SkiFire13:fix-issue-82282, r=m-ou-seMara-0/+20