diff --git a/src/libcore/vec.rs b/src/libcore/vec.rs index 0ee68f18626a..67ccf5c95784 100644 --- a/src/libcore/vec.rs +++ b/src/libcore/vec.rs @@ -101,7 +101,7 @@ pure fn same_length(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.