new_vec_with_capacity

Function new_vec_with_capacity 

Source
pub(crate) fn new_vec_with_capacity<A>(capacity: usize) -> Vec<A>
Expand description

Creates a new vector with the capacity for the specified number of items before it must be resized