We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ef2651 commit c7527a1Copy full SHA for c7527a1
src/libcollections/vec.rs
@@ -199,7 +199,7 @@ use super::range::RangeArgument;
199
/// sufficient. `push` and `insert` *will* (re)allocate if `len() == capacity()`.
200
/// That is, the reported capacity is completely accurate, and can be relied on.
201
/// It can even be used to manually free the memory allocated by a Vec if
202
-/// desired. Bulk insertion methods *may* reallocate unnecessarily.
+/// desired. Bulk insertion methods *may* reallocate, even when not necessary.
203
///
204
/// Vec does not guarantee any particular growth strategy when reallocating
205
/// when full, nor when `reserve` is called. The current strategy is basic
0 commit comments