about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libcollections/slice.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libcollections/slice.rs b/src/libcollections/slice.rs
index 3efda1faa3b..3012dcf0e39 100644
--- a/src/libcollections/slice.rs
+++ b/src/libcollections/slice.rs
@@ -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
+    ///
     /// # Examples
     ///
     /// ```