The Rust Programming Language Forum
Safe API around splitting a `Vec<T>` into initialized elements and reserved capacity
help
mickvangelderen
October 1, 2025, 11:27pm
23
Published under
split-spare
should anyone be interested.
show post in topic
Related topics
Topic
Replies
Views
Activity
Reserve truly exact capacity for Vec
20
2341
July 17, 2024
`Vec::with_capacity` does not painc as the documentation says
help
10
2048
May 19, 2022
How to cache a vector's capacity?
help
60
2627
August 29, 2023
Guarantee that Vec::default() does not allocate?
help
30
1486
November 20, 2022
Is `alloc` allowed to violate a methods safety requirements?
9
317
March 14, 2026