about summary refs log tree commit diff
path: root/library/alloc/src/raw_vec/mod.rs
AgeCommit message (Collapse)AuthorLines
2025-05-05Simplify `Vec::as_non_null` implementation and make it `const`Vilim Lendvaj-1/+1
2025-03-26Swap usize -> ptr transmute for strict_pov APIJames Wainwright-2/+1
Removes some unsafety and reduces the number of `usize` -> `ptr` transmutes which might be helpful for CHERI-like targets in the future.
2025-03-26Pass `Alignment` for `RawVecInner::new_in`James Wainwright-4/+5
Encodes the safety constraint that `Unique`'s pointer must be non-zero into the API.
2025-03-07Add commentsbjorn3-0/+3
2025-03-07Fully test the alloc crate through alloctestsbjorn3-0/+1
For the tests that make use of internal implementation details, we include the module to test using #[path] in alloctests now.
2025-03-07Move all alloc integration tests to a new alloctests cratebjorn3-0/+818