core: Clarify docs on vec::reserve

This commit is contained in:
Brian Anderson 2012-03-28 22:36:23 -07:00
parent 56273e3036
commit 1446534271

View file

@ -101,7 +101,7 @@ pure fn same_length<T, U>(xs: [const T], ys: [const U]) -> bool {
}
#[doc = "
Reserves capacity for `n` elements in the given vector.
Reserves capacity for exactly `n` elements in the given vector.
If the capacity for `v` is already equal to or greater than the requested
capacity, then no action is taken.