summary refs log tree commit diff
path: root/library/core/src/iter/adapters
AgeCommit message (Expand)AuthorLines
2024-10-23"innermost", "outermost", "leftmost", and "rightmost" don't need hyphensJosh Triplett-1/+1
2024-09-25Use `&raw` in the standard libraryJosh Stone-2/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-7/+7
2024-09-14Rollup merge of #130053 - glowcoil:next_if-docs, r=jhprattStuart Cook-2/+2
2024-09-06fix doc comments for Peekable::next_if(_eq)glowcoil-2/+2
2024-09-03replace placeholder versionBoxy-3/+3
2023-01-16Implement DoubleEnded and ExactSize for Take<Repeat> and Take<RepeatWith>Michal Nazarewicz-0/+57
2024-07-29Reformat `use` declarations.Nicholas Nethercote-77/+62
2024-07-26Fix doc nitsJohn Arundel-3/+3
2024-07-02chore: remove duplicate wordshattizai-1/+1
2024-06-25add comments explaining optimizations for Filter::next_chunkThe 8472-1/+3
2024-06-25fix Drop items getting leaked in Filter::next_chunkThe 8472-45/+43
2024-06-24Replace `MaybeUninit::uninit_array()` with array repeat expression.Kevin Reid-5/+6
2024-06-04Add function `core::iter::chain`Ross MacArthur-2/+38
2024-05-08Use generic `NonZero`.Markus Reiter-5/+5
2024-04-25remove trivial boundslcnr-13/+7
2024-04-23Add diagnostic item for std::iter::EnumerateChristopher B. Speir-0/+1
2024-04-18Rollup merge of #123406 - krtab:fix_remainder_iterchunk, r=scottmcmJubilee-1/+14
2024-04-06Don't emit divide-by-zero panic paths in `StepBy::len`Scott McMurray-31/+49
2024-04-04force exhaustion in iter::ArrayChunks::into_remainderArthur Carcano-1/+14
2024-03-25Import the 2021 prelude in the core crateDaniel Paoliello-1/+0
2024-02-24library: use `addr_of!`Pavel Grigorenko-3/+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-17/+13
2024-02-15Use generic `NonZero` internally.Markus Reiter-96/+100
2024-01-25use checked_add for upper boundYuri Astrakhan-2/+2
2024-01-25Update library/core/src/iter/adapters/intersperse.rsYuri Astrakhan-2/+2
2024-01-25fmtYuri Astrakhan-1/+8
2024-01-25Postpone .next() call until iterationYuri Astrakhan-29/+49
2024-01-25Boost intersperse(_with) performanceYuri Astrakhan-52/+74
2024-01-21Auto merge of #85528 - the8472:iter-markers, r=dtolnaybors-12/+105
2024-01-20Rollup merge of #113142 - the8472:opt-cstr-display, r=Mark-SimulacrumMatthias Krüger-0/+16
2024-01-10Implement in-place iteratation markers for iter::{Copied, Cloned}The8472-4/+45
2024-01-10implement TrustedRandomAccess and TrustedLen for SkipThe8472-1/+51
2024-01-10implement TrustedLen for StepByThe8472-7/+9
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