Function reth_node_core::primitives::alloy_primitives::utils::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.