diff options
| author | Colin Wallace <wallacoloo@gmail.com> | 2017-05-22 16:39:31 -0700 |
|---|---|---|
| committer | Colin Wallace <wallacoloo@gmail.com> | 2017-05-22 16:39:31 -0700 |
| commit | 6e8e5c9fd72c7f793a65b710fe1ce346fd59d593 (patch) | |
| tree | 16f4429aaf46cd958b3720b275b37ce72aedda61 | |
| parent | 78bdda1573878676c8ec4c3d6957d3adabda0c56 (diff) | |
Slice::into_vec: Don't link to Vec::into_boxed_slice
The documentation for this method appears on multiple different pages, which causes the relative links to not always work.
| -rw-r--r-- | src/libcollections/slice.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libcollections/slice.rs b/src/libcollections/slice.rs index 3012dcf0e39..5696f5fe6a7 100644 --- a/src/libcollections/slice.rs +++ b/src/libcollections/slice.rs @@ -1411,9 +1411,7 @@ impl<T> [T] { /// Converts `self` into a vector without clones or allocation. /// /// The resulting vector can be converted back into a box via - /// the [`into_boxed_slice`] method. - /// - /// [`into_boxed_slice`]: vec/struct.Vec.html#method.into_boxed_slice + /// `Vec<T>`'s `into_boxed_slice` method. /// /// # Examples /// |
