Skip to content

Commit

Permalink
Auto merge of rust-lang#44960 - SeanPrashad:master, r=steveklabnik
Browse files Browse the repository at this point in the history
Resolves rust-lang#36284 - vec.rs documentation

Removed comments associated with `[into_vec]` being equivalent to `[shrink_to_fit]` as requested.
  • Loading branch information
bors committed Oct 2, 2017
2 parents a4af930 + 1ebc7bb commit 2146c61
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/liballoc/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
///
Expand Down

0 comments on commit 2146c61

Please sign in to comment.