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