about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-05-29 10:13:05 +0000
committerbors <bors@rust-lang.org>2015-05-29 10:13:05 +0000
commitdb1c761b7eff3b61935bccc2a2d3ece946425f8e (patch)
treec631d341e460960b88440d3981930d98566366e4
parentb9eb606801067ef2994d9667e7f424fb331143ab (diff)
parent6c2b340fdcb5a38a4e93883f4816b019cb12fc19 (diff)
Auto merge of #25838 - mbrubeck:doc-edit, r=steveklabnik
Fixes #25622. r? @steveklabnik
-rw-r--r--src/libcollections/vec.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libcollections/vec.rs b/src/libcollections/vec.rs
index 4d52eb8e8ae..8dacfa53bc9 100644
--- a/src/libcollections/vec.rs
+++ b/src/libcollections/vec.rs
@@ -440,6 +440,8 @@ impl<T> Vec<T> {
     }
 
     /// Extracts a slice containing the entire vector.
+    ///
+    /// Equivalent to `&s[..]`.
     #[inline]
     #[unstable(feature = "convert",
                reason = "waiting on RFC revision")]
@@ -447,7 +449,9 @@ impl<T> Vec<T> {
         self
     }
 
-    /// Deprecated: use `&mut s[..]` instead.
+    /// Extracts a mutable slice of the entire vector.
+    ///
+    /// Equivalent to `&mut s[..]`.
     #[inline]
     #[unstable(feature = "convert",
                reason = "waiting on RFC revision")]