about summary refs log tree commit diff
path: root/library/alloc/src/vec/into_iter.rs
AgeCommit message (Expand)AuthorLines
2023-03-27replace advance_by returning usize with Result<(), NonZeroUsize>The 8472-4/+5
2023-03-27Change advance(_back)_by to return `usize` instead of `Result<(), usize>`The 8472-10/+4
2023-02-28Support allocators in various Default for IntoIter implsThe 8472-2/+5
2023-02-28rewrite iterator `Default` tests as doctestsThe 8472-0/+8
2023-02-28Implement Default for some alloc/core iteratorsThe 8472-0/+7
2023-01-14Remove various double spaces in source comments.André Vennberg-3/+3
2022-12-23fix one more unaligned self.ptr, and add testsRalf Jung-1/+1
2022-12-23fix IntoIter::drop on high-alignment ZSTRalf Jung-10/+11
2022-12-08Apply review feedback; Fix no_global_oom_handling buildScott McMurray-0/+2
2022-12-08Make `VecDeque::from_iter` O(1) from `vec(_deque)::IntoIter`Scott McMurray-0/+27
2022-10-17Remove all uses of array_assume_initAlex Saveau-2/+2
2022-10-04Rollup merge of #101642 - SkiFire13:fix-inplace-collection-leak, r=the8472Dylan DPC-1/+6
2022-09-22Make ZST checks in core/alloc more readableScott McMurray-8/+8
2022-09-10Update documentationGiacomo Stevanato-1/+6
2022-08-31fix into_iter on ZSTRalf Jung-1/+1
2022-08-23Make use of `[wrapping_]byte_{add,sub}`Maybe Waffle-8/+5
2022-08-22Rollup merge of #100820 - WaffleLapkin:use_ptr_is_aligned_methods, r=scottmcmDylan DPC-1/+1
2022-08-21Replace most uses of `pointer::offset` with `add` and `sub`Maybe Waffle-3/+3
2022-08-21Remove useless pointer castMaybe Waffle-1/+1
2022-07-26Optimized vec::IntoIter::next_chunk implThe 8472-2/+39
2022-06-29alloc: fix `no_global_oom_handling` warningsMiguel Ojeda-0/+2
2022-05-11Rename `unsigned_offset_from` to `sub_ptr`Scott McMurray-1/+1
2022-05-11Add `unsigned_offset_from` on pointersScott McMurray-1/+1
2022-05-08Warn on unused doc(hidden) on trait impl itemsLeón Orell Valerian Liehr-1/+0
2022-04-28Add VecDeque::extend from vec::IntoIter and slice::Iter specializationsPaolo Barbolini-0/+5
2022-03-31Rollup merge of #95298 - jhorstmann:fix-double-drop-of-allocator-in-vec-into-...Dylan DPC-6/+9
2022-03-29Make the stdlib largely conform to strict provenance.Aria Beingessner-1/+1
2022-03-25Use ManuallyDrop::take instead of into_innerJörn Horstmann-1/+1
2022-03-25Fix double drop of allocator in IntoIter impl of VecJörn Horstmann-6/+9
2022-03-22rename internal helper trait AsIntoIter to AsVecIntoIterThe 8472-2/+2
2022-03-21add module-level documentation for vec's in-place iterationThe8472-0/+5
2022-03-21move AsIntoIter helper trait and mark it as unsafeThe8472-8/+4
2022-01-13Add Sync bound to allocator parameter in vec::IntoIterMichael Goulet-1/+1
2021-10-04Rollup merge of #89413 - matthewjasper:spec-marker-fix, r=nikomatsakisJubilee-3/+10
2021-09-30Fix standard library for min_specialization changesMatthew Jasper-3/+10
2021-09-30fix issues pointed out in reviewThe8472-10/+11
2021-09-30implement advance_(back_)_by on more iteratorsThe8472-0/+45
2021-09-22PR fixupAman Arora-1/+1
2021-09-212229: Annotate stdlib with insignficant dtorsAman Arora-0/+1
2021-07-28Remove redundant bounds on get_unchecked for vec_deque iterators, and run fmtFrank Steffahn-1/+3
2021-07-28Add back TrustedRandomAccess-specialization for Vec, but only without coercionsFrank Steffahn-1/+33
2021-07-28Remove unsound TrustedRandomAccess implementationsFrank Steffahn-30/+1
2021-06-16Add doc(hidden) to all __iterator_get_uncheckedJacob Hoffman-Andrews-0/+1
2021-05-16mark internal inplace_iteration traits as hiddenThe8472-0/+2
2021-05-05alloc: Add unstable Cfg feature `no-global_oom_handling`John Ericson-0/+2
2021-03-29fix double-drop in in-place collect specializationThe8472-9/+18
2021-02-15Turn may_have_side_effect into an associated constantTomasz Miąsko-3/+1
2020-12-30Fix rustdoc link in vec/into_iter.rs.Mara Bos-2/+2
2020-12-29docs: fixing referencesC-1/+1
2020-12-29style: applying Rust styleC-9/+7