core: Clarify docs on vec::reserve
This commit is contained in:
parent
56273e3036
commit
1446534271
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue