summary refs log tree commit diff
path: root/library/alloc/src/vec/drain.rs
AgeCommit message (Collapse)AuthorLines
2021-12-11Fix zero-sized reference to deallocated memoryThe 8472-4/+6
fixes #91772
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