You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
akonradi opened this issue
Oct 20, 2022
· 1 comment
· Fixed by #103482
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-bugCategory: This is a bug.T-libsRelevant to the library team, which will review and decide on the PR/issue.
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.
The text was updated successfully, but these errors were encountered:
akonradi
added
the
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
label
Oct 20, 2022
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-bugCategory: This is a bug.T-libsRelevant to the library team, which will review and decide on the PR/issue.
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.
The text was updated successfully, but these errors were encountered: