Skip to content

Commit c7527a1

Browse files
Gankrasteveklabnik
authored andcommitted
fixup wording
1 parent 9ef2651 commit c7527a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcollections/vec.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ use super::range::RangeArgument;
199199
/// sufficient. `push` and `insert` *will* (re)allocate if `len() == capacity()`.
200200
/// That is, the reported capacity is completely accurate, and can be relied on.
201201
/// It can even be used to manually free the memory allocated by a Vec if
202-
/// desired. Bulk insertion methods *may* reallocate unnecessarily.
202+
/// desired. Bulk insertion methods *may* reallocate, even when not necessary.
203203
///
204204
/// Vec does not guarantee any particular growth strategy when reallocating
205205
/// when full, nor when `reserve` is called. The current strategy is basic

0 commit comments

Comments
 (0)