about summary refs log tree commit diff
path: root/library/alloc/src/vec/drain.rs
AgeCommit message (Expand)AuthorLines
2023-01-17Don't do pointer arithmetic on pointers to deallocated memoryThe 8472-3/+3
2022-09-22Make ZST checks in core/alloc more readableScott McMurray-2/+2
2022-08-28fill-in tracking issue for `feature(drain_keep_rest)`Maybe Waffle-1/+1
2022-08-28add examples to `vec::Drain{,Filter}::keep_rest` docsMaybe Waffle-0/+18
2022-06-05Add vec::Drain{,Filter}::keep_restMaybe Waffle-1/+54
2022-05-11Rename `unsigned_offset_from` to `sub_ptr`Scott McMurray-1/+1
2022-05-11Add `unsigned_offset_from` on pointersScott McMurray-1/+1
2021-12-11Fix zero-sized reference to deallocated memoryThe 8472-4/+6
2021-12-09Use `*mut [T]` instead of `[MaybeUninit<T>]`The 8472-7/+5
2021-11-20document why we're not directly passing drop_ptr to drop_in_placeThe8472-0/+4
2021-11-20replace vec::Drain drop loops with drop_in_placeThe8472-14/+37
2021-10-15Add #[must_use] to remaining alloc functionsJohn Kugelman-0/+1
2021-10-11Add #[must_use] to as_type conversionsJohn Kugelman-0/+1
2020-12-29style: applying Rust styleC-5/+3
2020-12-29refactor: moving Drain into drain.rsC-0/+157