Commit 35b46de
authored
Rollup merge of rust-lang#103482 - aDotInTheVoid:vec-cap-docs, r=thomcc
Clairify Vec::capacity docs
Update both the text and example to be clear that the method gives *total*, (not *spare*) capacity
Fixes rust-lang#1033261 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
868 | 868 | | |
869 | 869 | | |
870 | 870 | | |
871 | | - | |
| 871 | + | |
872 | 872 | | |
873 | 873 | | |
874 | 874 | | |
875 | 875 | | |
876 | 876 | | |
877 | | - | |
| 877 | + | |
| 878 | + | |
878 | 879 | | |
879 | 880 | | |
880 | 881 | | |
| |||
0 commit comments