diff options
| author | bors <bors@rust-lang.org> | 2017-10-02 02:17:14 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-10-02 02:17:14 +0000 |
| commit | 2146c613d12de8dc44bc26e50af55251fc7e4f9c (patch) | |
| tree | 339467b7009af4e85ba2a2fbf99280ae9c4557cb | |
| parent | a4af9309d060b76ddaeb91c52d9f0e05dc97264c (diff) | |
| parent | 1ebc7bba796c74c6cf21092597e3ff8c174741a2 (diff) | |
| download | rust-2146c613d12de8dc44bc26e50af55251fc7e4f9c.tar.gz rust-2146c613d12de8dc44bc26e50af55251fc7e4f9c.zip | |
Auto merge of #44960 - SeanPrashad:master, r=steveklabnik
Resolves #36284 - vec.rs documentation Removed comments associated with `[into_vec]` being equivalent to `[shrink_to_fit]` as requested.
| -rw-r--r-- | src/liballoc/vec.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/liballoc/vec.rs b/src/liballoc/vec.rs index 725d3e15f4a..861291194f3 100644 --- a/src/liballoc/vec.rs +++ b/src/liballoc/vec.rs @@ -507,13 +507,9 @@ impl<T> Vec<T> { /// Converts the vector into [`Box<[T]>`][owned slice]. /// - /// Note that this will drop any excess capacity. Calling this and - /// converting back to a vector with [`into_vec`] is equivalent to calling - /// [`shrink_to_fit`]. + /// Note that this will drop any excess capacity. /// /// [owned slice]: ../../std/boxed/struct.Box.html - /// [`into_vec`]: ../../std/primitive.slice.html#method.into_vec - /// [`shrink_to_fit`]: #method.shrink_to_fit /// /// # Examples /// |
