summary refs log tree commit diff
path: root/src/libcore/iter
AgeCommit message (Expand)AuthorLines
2020-07-14Auto merge of #73490 - CAD97:range-unchecked-stepping, r=Amanieubors-12/+12
2020-07-05Fix spacing in Iterator fold docIvan Tham-2/+2
2020-06-30Deny unsafe ops in unsafe fns, part 6LeSeulArtichaut-1/+0
2020-06-30Deny unsafe ops in unsafe fns, part 2LeSeulArtichaut-16/+38
2020-06-19Refactor `try_find` a littleJosh Stone-11/+18
2020-06-18Use step_unchecked more liberallyCAD97-12/+12
2020-06-14Fix iterator copied() documentation example codeSteve Heindel-2/+2
2020-05-30Rollup merge of #72368 - CAD97:rangeto, r=dtolnayRalf Jung-9/+1
2020-05-30Rollup merge of #72162 - cuviper:extend_one, r=Mark-SimulacrumYuki Okushi-5/+26
2020-05-29Add extend_one tracking issue 72631Josh Stone-2/+2
2020-05-29Use a canonical name for extend_reserve(additional)Josh Stone-1/+3
2020-05-29Add Extend::{extend_one,extend_reserve}Josh Stone-5/+24
2020-05-29Auto merge of #72756 - RalfJung:rollup-tbjmtx2, r=RalfJungbors-1/+73
2020-05-29Rollup merge of #72413 - CAD97:char-range, r=dtolnayRalf Jung-1/+73
2020-05-29Rollup merge of #72310 - jyn514:peekable-next-if, r=dtolnayDylan DPC-0/+63
2020-05-29Clarify the documentation of takeAlexis Bourget-0/+11
2020-05-28FIx off-by-one in char::steps_betweenCAD97-1/+1
2020-05-26Add Peekable::next_ifJoshua Nelson-0/+63
2020-05-26Add remark regarding DoubleEndedIteratorphilipp-0/+26
2020-05-21Add safety annotations in iter::rangeCAD97-0/+4
2020-05-21Use Step::forward_unchecked in RangeInclusive::nextCAD97-1/+5
2020-05-21impl Step for charCAD97-0/+64
2020-05-19Resolve overflow behavior for RangeFromCAD97-9/+1
2020-05-18Add some more `rfold` implementations.Nicholas Nethercote-0/+68
2020-05-18Tweak `partition`, `unzip`, `try_find`.Nicholas Nethercote-7/+7
2020-05-18Make `fold` standalone.Nicholas Nethercote-13/+124
2020-05-16Rollup merge of #72166 - nnethercote:simpler-slice-Iterator-methods, r=cuviperDylan DPC-1/+1
2020-05-15Auto merge of #69659 - CAD97:step-rework-take-3, r=Amanieubors-171/+411
2020-05-14improve step_integer_impls macroCAD97-29/+6
2020-05-13Improve Step::forward/backward for optimizationCAD97-14/+12
2020-05-13Improve comments in iter::StepCAD97-3/+3
2020-05-13Change `Iterator::nth` to use `self.next()` in a `while` loop.Nicholas Nethercote-1/+1
2020-04-26Use min_specialization in liballocMatthew Jasper-0/+2
2020-04-25Bump rustfmt to most recently shippedMark Rousskov-1/+1
2020-04-24Rollup merge of #71492 - LeSeulArtichaut:document-unsafe-2, r=Mark-SimulacrumDylan DPC-2/+8
2020-04-24Document unsafety in `core::{panicking, alloc::layout, hint, iter::adapters::...LeSeulArtichaut-2/+8
2020-04-23Rollup merge of #71404 - cuviper:chain-unfused, r=scottmcmDylan DPC-10/+22
2020-04-21Don't fuse Chain in its second iteratorJosh Stone-10/+22
2020-04-20Stop accessing module level int consts via crate::<Ty>Linus Färnstrand-3/+0
2020-04-17Rollup merge of #71220 - cuviper:std_or_patterns, r=Mark-SimulacrumDylan DPC-2/+2
2020-04-17Rollup merge of #70910 - rakshith-ravi:master, r=cuviperDylan DPC-63/+244
2020-04-16Dogfood or_patterns in the standard libraryJosh Stone-2/+2
2020-04-16Inlined everything into a single trait and trait implRakshith Ravi-126/+141
2020-04-10Added comments.Rakshith Ravi-21/+16
2020-04-08Adjust Step::forward_checked docs for large typesCAD97-2/+5
2020-04-08Redesign the Step traitCAD97-172/+434
2020-04-08Added FuseIteratorImpl, FustDoubleEndedIteratorImpl and FuseExactSizeIterator...Rakshith Ravi-79/+250
2020-04-07Avoid extra &mut in Chain::fold and try_foldJosh Stone-2/+2
2020-04-07Reduce callsites in Chain::last()Josh Stone-11/+10
2020-04-07Reduce callsites in Chain::count()Josh Stone-6/+9