Closed
Description
Location
Standard library documentation for Vec::capacity
(https://doc.rust-lang.org/std/vec/struct.Vec.html#method.capacity)
Summary
It's not clear whether the returned capacity is the total capacity or remaining capacity of the vector. The text and example don't seem to signal either way.