Skip to content

Commit 6e8e5c9

Browse files
committed
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.
1 parent 78bdda1 commit 6e8e5c9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/libcollections/slice.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1411,9 +1411,7 @@ impl<T> [T] {
14111411
/// Converts `self` into a vector without clones or allocation.
14121412
///
14131413
/// The resulting vector can be converted back into a box via
1414-
/// the [`into_boxed_slice`] method.
1415-
///
1416-
/// [`into_boxed_slice`]: vec/struct.Vec.html#method.into_boxed_slice
1414+
/// `Vec<T>`'s `into_boxed_slice` method.
14171415
///
14181416
/// # Examples
14191417
///

0 commit comments

Comments
 (0)