about summary refs log tree commit diff
path: root/library/alloc/src/vec/into_iter.rs
AgeCommit message (Expand)AuthorLines
2025-05-02Implement Iterator::last for vec::IntoIterThalia Archibald-0/+5
2025-04-28Rename sub_ptr to offset_from_unsigned in docsDaniPopes-1/+1
2025-03-07Fully test the alloc crate through alloctestsbjorn3-5/+0
2025-02-23rename sub_ptr 😅bendn-2/+2
2024-09-25Use `&raw` in the standard libraryJosh Stone-2/+2
2024-09-12Rollup merge of #130101 - RalfJung:const-cleanup, r=fee1-deadMatthias Krüger-1/+1
2024-09-08add FIXME(const-hack)Ralf Jung-1/+1
2024-09-08Remove needless returns detected by clippy in librariesEduardo Sánchez Muñoz-2/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-8/+8
2024-07-26Fix doc nitsJohn Arundel-2/+3
2024-07-06Mitigate focused memory leaks in `alloc` doctests for Miri.Zachary S-1/+6
2024-06-24Replace `MaybeUninit::uninit_array()` with array repeat expression.Kevin Reid-1/+1
2024-05-18specialize `Iterator::fold` for `vec::IntoIter`Joshua Wong-2/+27
2024-05-18optimize in_place_collect with vec::IntoIter::try_foldJoshua Wong-0/+29
2024-04-12Avoid more NonNull-raw-NonNull roundtrips in VecBen Kimock-1/+1
2024-02-16Don't use mem::zeroed in vec::IntoIterBen Kimock-34/+29
2024-02-15Replace `NonZero::<_>::new` with `NonZero::new`.Markus Reiter-4/+4
2024-02-15Use generic `NonZero` internally.Markus Reiter-7/+7
2024-02-08Reduce use of NonNull::new_unchecked in library/Ben Kimock-1/+1
2024-01-07mark vec::IntoIter pointers as `!nonnull`The 8472-38/+68
2024-01-07typo fixThe 8472-1/+1
2023-11-28Auto merge of #110353 - the8472:in-place-flatten-chunks, r=cuviperbors-2/+10
2023-11-15Re-format code with new rustfmtMark Rousskov-3/+1
2023-09-03Expand in-place iteration specialization to Flatten, FlatMap and ArrayChunksThe 8472-2/+10
2023-04-28replace version placeholdersPietro Albini-1/+1
2023-04-12remove some unneeded importsKaDiWa-1/+1
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