about summary refs log tree commit diff
path: root/library/core/src/iter/adapters/flatten.rs
AgeCommit message (Expand)AuthorLines
2025-09-16Fix other uses of "adaptor"Joe Birr-Pixton-1/+1
2025-01-25Remove unused trait BoundedSizeMu001999-55/+0
2025-01-04do not in-place-iterate over flatmap/flattenThe 8472-32/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-5/+3
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-9/+5
2024-02-15Use generic `NonZero` internally.Markus Reiter-21/+25
2024-01-20Rollup merge of #113142 - the8472:opt-cstr-display, r=Mark-SimulacrumMatthias Krüger-0/+8
2023-12-10remove redundant importssurechen-2/+2
2023-09-03support in-place collecting additional FlatMap shapesThe 8472-15/+59
2023-09-03Expand in-place iteration specialization to Flatten, FlatMap and ArrayChunksThe 8472-2/+79
2023-07-12Flip cfg's for bootstrap bumpMark Rousskov-6/+1
2023-06-29optimize Cstr/EscapeAscii displayThe 8472-0/+8
2023-06-15privacy: Do not mark items reachable farther than their nominal visibilityVadim Petrochenkov-6/+6
2023-05-11Populate effective visibilities in rustc_privacyBryanskiy-0/+6
2023-05-08Revert "Populate effective visibilities in `rustc_privacy`"Michael Goulet-6/+0
2023-05-05Populate effective visibilities in `rustc_privacy`Bryanskiy-0/+6
2023-04-28replace version placeholdersPietro Albini-1/+1
2023-04-25simplify TrustedLen implsTamir Duberstein-34/+28
2023-03-27replace advance_by returning usize with Result<(), NonZeroUsize>The 8472-14/+15
2023-03-27Change advance(_back)_by to return `usize` instead of `Result<(), usize>`The 8472-14/+14
2023-02-28relax bounds on iterator adapter Default implsThe 8472-2/+1
2023-02-28rewrite iterator `Default` tests as doctestsThe 8472-0/+8
2023-02-28Implement Default for some alloc/core iteratorsThe 8472-0/+11
2023-01-27Remove `ControlFlow::{BREAK, CONTINUE}`Scott McMurray-2/+2
2022-08-05Move `rfold` logic into `iter_rfold`Tim Vermeulen-19/+35
2022-08-05Move `fold` logic to `iter_fold` method and reuse it in `count` and `last`Tim Vermeulen-16/+76
2022-08-05Move shared logic of `try_rfold` and `advance_back_by` into `iter_try_rfold`Tim Vermeulen-54/+65
2022-08-05Move shared logic of `try_fold` and `advance_by` into `iter_try_fold`Tim Vermeulen-52/+66
2022-06-22Refactor iter adapters with less macrosCameron Steffen-25/+16
2021-09-30fix issues pointed out in reviewThe8472-2/+3
2021-09-30implement advance_(back_)_by on more iteratorsThe8472-0/+69
2021-07-19replace Option combinators with try blockThe8472-6/+2
2021-07-16implement ConstSizeIntoIterator for &[T;N] in addition to [T;N]The8472-3/+52
2021-07-16rename specializing trait to ConstSizeIntoIteratorThe8472-4/+4
2021-07-15implement TrustedLen for Flatten/FlatMap if the U: IntoIterator == [T; N]The8472-1/+48
2021-05-06Perf Experiment: Wait, what if I just skip the trait aliasScott McMurray-9/+9
2021-05-06Bootstrapping preparation for the libraryScott McMurray-9/+9
2021-02-15Expand FlattenCompat foldsJosh Stone-20/+35
2021-01-23Manually fuse the inner iterator in FlattenCompatGiacomo Stevanato-2/+14
2020-11-30Intra doc links for iterator adaptersAlexis Bourget-2/+1
2020-11-22Remove multiline `use`sWaffle-5/+3
2020-11-22Merge `use`s in core::iterWaffle-5/+5
2020-11-22Split iterator adaptors into individual modulesWaffle-1/+2
2020-11-07Convert a bunch of intra-doc linksCamelid-1/+1
2020-10-12Use `try{}` in `try_fold` to decouple library from `Try` detailsScott McMurray-2/+2
2020-09-15Remove flatten doc intra-doc linksIvan Tham-3/+0
2020-09-14Simplify iter flatten struct docIvan Tham-2/+2
2020-07-27mv std libs to library/mark-0/+424