summary refs log tree commit diff
path: root/library/core/tests/iter
AgeCommit message (Expand)AuthorLines
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
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-06-21Add `Iterator::next_chunk`Ross MacArthur-0/+9
2022-05-29Use Box::new() instead of box syntax in core testsest31-1/+2
2022-03-18Rollup merge of #94115 - scottmcm:iter-process-by-ref, r=yaahcMatthias Krüger-0/+24
2022-03-13Auto merge of #94738 - Urgau:rustbuild-check-cfg-values, r=Mark-Simulacrumbors-2/+0
2022-03-10Let `try_collect` take advantage of `try_fold` overridesScott McMurray-0/+24
2022-03-09Remove unexpected #[cfg(target_pointer_width = "8")] in testsLoïc BRANSTETT-2/+0
2022-02-20Add collect_intofren_gor-0/+8
2022-02-16Add a `try_collect()` helper method to `Iterator`Arthur Lafrance-0/+46
2022-02-02add teststamaron-0/+8
2022-01-09eplace usages of vec![].into_iter with [].into_iterLucas Kent-10/+10
2021-12-04Use IntoIterator for array impl everywhere.Mara Bos-6/+5