Function kalloc::wrapper::vec_shrink_to_fit [−][src]
pub fn vec_shrink_to_fit<T>(v: &mut Vec<T>) -> Result<(), AllocError>
Expand description
OOM Wrapper to shrink a vector. O(N).
pub fn vec_shrink_to_fit<T>(v: &mut Vec<T>) -> Result<(), AllocError>
OOM Wrapper to shrink a vector. O(N).