We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a4af930 + 1ebc7bb commit 2146c61Copy full SHA for 2146c61
src/liballoc/vec.rs
@@ -507,13 +507,9 @@ impl<T> Vec<T> {
507
508
/// Converts the vector into [`Box<[T]>`][owned slice].
509
///
510
- /// Note that this will drop any excess capacity. Calling this and
511
- /// converting back to a vector with [`into_vec`] is equivalent to calling
512
- /// [`shrink_to_fit`].
+ /// Note that this will drop any excess capacity.
513
514
/// [owned slice]: ../../std/boxed/struct.Box.html
515
- /// [`into_vec`]: ../../std/primitive.slice.html#method.into_vec
516
- /// [`shrink_to_fit`]: #method.shrink_to_fit
517
518
/// # Examples
519
0 commit comments