Skip to content

Commit

Permalink
Resolves rust-lang#36284 - vec.rs documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Prashad authored and Sean Prashad committed Oct 1, 2017
1 parent 0defa20 commit 1ebc7bb
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 1ebc7bb

Please sign in to comment.