Searched refs:required_cap (Results 1 – 1 of 1) sorted by relevance
433 let required_cap = len.checked_add(additional).ok_or(CapacityOverflow)?; in grow_amortized() localVariable437 let cap = cmp::max(self.cap * 2, required_cap); in grow_amortized()