Y
Hacker News
new
|
ask
|
show
|
jobs
by
sapiogram
882 days ago
Or alternatively, the vector was created with `Vec::with_capacity()` or `ExactSizeIterator::collect()`, and had the correct capacity all along.