about summary refs log tree commit diff
path: root/library/alloc/src/vec/in_place_collect.rs
AgeCommit message (Expand)AuthorLines
2025-03-06library: Use size_of from the prelude instead of importedThalia Archibald-12/+12
2025-02-23rename sub_ptr 😅bendn-1/+1
2024-10-14Auto merge of #126557 - GrigorenkoPV:vec_track_caller, r=joboetbors-0/+2
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-20Add `#[track_caller]` to allocating methods of `Vec` & `VecDeque`Pavel Grigorenko-0/+2
2024-09-15Rollup merge of #130061 - theemathas:box_vec_non_null, r=MarkSimulacrum,worki...Stuart Cook-1/+1
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-1/+1
2024-09-07Add `NonNull` convenience methods to `Vec`Tim (Theemathas) Chirananthavat-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-3/+2
2024-06-20Add blank lines after module-level `//!` comments.Nicholas Nethercote-0/+1
2024-05-18use `Result::into_ok` on infallible result.Joshua Wong-4/+2
2024-05-18optimize in-place collection of `Vec`Joshua Wong-3/+6
2024-04-12Avoid more NonNull-raw-NonNull roundtrips in VecBen Kimock-10/+11
2024-03-20select Vec::from_iter impls in a const block to optimize compile timesThe 8472-79/+89
2024-02-15Use generic `NonZero` internally.Markus Reiter-3/+3
2024-01-21Rollup merge of #120145 - the8472:fix-inplace-dest-drop, r=cuviperMatthias Krüger-4/+6
2024-01-19fix: Drop guard was deallocating with the incorrect sizeThe 8472-4/+6
2024-01-18remove alignment-changing in-place collectThe 8472-5/+8
2024-01-16Fix typo in comments (in_place_collect)Robert Grosse-1/+1
2024-01-07mark vec::IntoIter pointers as `!nonnull`The 8472-1/+1
2023-12-05Fix in-place collect not reallocating when necessaryThe 8472-7/+27
2023-09-03unchecked layout calculations when shrinking during in-place collectThe 8472-2/+12
2023-09-03relax size and alignment requirements for in-place iterationThe 8472-8/+11
2023-09-03update in-place-iteration module docsThe 8472-8/+25
2023-09-03don't leak items if alloc::shrink panicsThe 8472-2/+6
2023-09-03Expand in-place iteration specialization to Flatten, FlatMap and ArrayChunksThe 8472-17/+66
2023-05-15Mark internal functions and traits unsafeLegionMammal978-4/+5
2023-04-26Spelling library/Josh Soref-1/+1
2022-10-04Rollup merge of #101642 - SkiFire13:fix-inplace-collection-leak, r=the8472Dylan DPC-4/+10
2022-10-03Clarify documentationGiacomo Stevanato-4/+3
2022-09-22Make ZST checks in core/alloc more readableScott McMurray-2/+2
2022-09-10Update documentationGiacomo Stevanato-2/+5
2022-09-10Fix leaking in inplace collection when destructor panicsGiacomo Stevanato-2/+6
2022-08-21Replace most uses of `pointer::offset` with `add` and `sub`Maybe Waffle-1/+1
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-03-23fix some links, clarify documentation based on review feedbackThe 8472-12/+19
2022-03-22rename internal helper trait AsIntoIter to AsVecIntoIterThe 8472-5/+5
2022-03-21add module-level documentation for vec's in-place iterationThe8472-20/+152
2022-03-21move AsIntoIter helper trait and mark it as unsafeThe8472-1/+8
2022-03-21rename module to better reflect its purposeThe8472-0/+156