Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/libcollections/slice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1410,6 +1410,11 @@ 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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unfortunately, I have a feeling this link won't work because this method appears on both the slice and Vec doc pages. as is, the link works on the slice page, but on the vec page, it would end up linking to std/vec/vec/struct.Vec.html#method.into_vec. we'll find out soon whether this passes the linkchecker on Travis CI, but i'm guessing this link will probably need to be removed

///
/// # Examples
///
/// ```
Expand Down