Searched refs:try_with_capacity (Results 1 – 2 of 2) sorted by relevance
561 let mut buf = Vec::try_with_capacity(size)?; in try_from_fmt()
536 pub fn try_with_capacity(capacity: usize) -> Result<Self, TryReserveError> { in try_with_capacity() method