about summary refs log tree commit diff
path: root/library/core/src/iter/adapters
AgeCommit message (Expand)AuthorLines
2023-12-10remove redundant importssurechen-9/+8
2023-11-28Auto merge of #110353 - the8472:in-place-flatten-chunks, r=cuviperbors-39/+285
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
2023-11-17Rollup merge of #117549 - DaniPopes:more-copied, r=b-naberMatthias Krüger-1/+1
2023-11-16Remove option_payload_ptr; redundant to offset_ofGeorge Bateman-1/+2
2023-11-15Re-format code with new rustfmtMark Rousskov-5/+1
2023-11-03library: use `copied` instead of manual `map`DaniPopes-1/+1
2023-10-15Auto merge of #115515 - the8472:zip-for-arrays, r=scottmcmbors-0/+90
2023-10-06optimize zipping over array iteratorsThe 8472-0/+90
2023-10-05Add more diagnostic items for clippyJason Newcomb-0/+1
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-39/+241
2023-08-28reduce indirection in for_each specializationThe 8472-7/+6
2023-08-27Optimize Take::{fold, for_each} when wrapping TrustedRandomAccess iteratorsThe 8472-19/+83
2023-08-11Add Iterator::map_windowsFrank King-0/+297
2023-07-12Flip cfg's for bootstrap bumpMark Rousskov-6/+1
2023-06-29Rollup merge of #112670 - petrochenkov:typriv, r=eholkMatthias Krüger-6/+6
2023-06-25Mark the StepBy specialization as unsafeThe 8472-8/+8
2023-06-25StepBy<Range<{int <= usize}>> can be TrustedLenThe 8472-1/+7
2023-06-25doccomments for StepBy specializationsThe 8472-0/+41
2023-06-23add inline annotation to concrete implsThe 8472-0/+7
2023-06-23Specialize StepBy<Range<{integer}>>The 8472-36/+321
2023-06-15privacy: Do not mark items reachable farther than their nominal visibilityVadim Petrochenkov-6/+6
2023-05-20optimize next_chunk impls for Filter and FilterMapThe 8472-1/+116
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-08Auto merge of #106621 - ozkanonur:enable-elided-lifetimes-for-doctests, r=Mar...bors-1/+1
2023-05-07enable `rust_2018_idioms` for doctestsozkanonur-1/+1
2023-05-05Populate effective visibilities in `rustc_privacy`Bryanskiy-0/+6
2023-04-28replace version placeholdersPietro Albini-7/+7
2023-04-25simplify TrustedLen implsTamir Duberstein-34/+28
2023-03-27replace advance_by returning usize with Result<(), NonZeroUsize>The 8472-69/+92
2023-03-27Change advance(_back)_by to return `usize` instead of `Result<(), usize>`The 8472-124/+86
2023-02-28relax bounds on iterator adapter Default implsThe 8472-25/+6
2023-02-28rewrite iterator `Default` tests as doctestsThe 8472-0/+59
2023-02-28Implement Default for some alloc/core iteratorsThe 8472-0/+71
2023-02-04Allow canonicalizing the `array::map` loop in trusted casesScott McMurray-13/+40
2023-02-03Replace `ConstFnMutClosure` with const closuresDeadbeef-18/+7
2023-01-27Remove `ControlFlow::{BREAK, CONTINUE}`Scott McMurray-3/+3
2022-11-24Tune RepeatWith::try_fold and Take::for_each and Vec::extend_trustedScott McMurray-1/+20
2022-11-08document and improve array Guard typeThe 8472-3/+5
2022-11-07simplification: do not process the ArrayChunks remainder in fold()The 8472-18/+2
2022-11-07specialize iter::ArrayChunks::fold for TrustedRandomAccess itersThe 8472-3/+86
2022-10-19specialize slice_iter.copied().next_chunk()The 8472-0/+74
2022-09-26Use a macro to not have to copy-paste `ConstFnMutClosure::new(&mut fold, Neve...Scott McMurray-88/+10
2022-09-23Constifed Try traitonestacked-11/+22
2022-08-24Rollup merge of #100220 - scottmcm:fix-by-ref-sized, r=joshtriplettMatthias Krüger-12/+17
2022-08-19Auto merge of #99541 - timvermeulen:flatten_cleanup, r=the8472bors-137/+238
2022-08-14Properly forward `ByRefSized::fold` to the inner iteratorScott McMurray-12/+17