Function vec_try_with_capacity
pub fn vec_try_with_capacity<T>(
capacity: usize,
) -> Result<Vec<T>, TryReserveError>Expand description
Tries to create a Vec with the given capacity.
pub fn vec_try_with_capacity<T>(
capacity: usize,
) -> Result<Vec<T>, TryReserveError>Tries to create a Vec with the given capacity.