diff --git a/src/libcollections/vec.rs b/src/libcollections/vec.rs index 4d52eb8e8ae67..62a6560433391 100644 --- a/src/libcollections/vec.rs +++ b/src/libcollections/vec.rs @@ -441,16 +441,16 @@ impl Vec { /// Extracts a slice containing the entire vector. #[inline] - #[unstable(feature = "convert", - reason = "waiting on RFC revision")] + #[deprecated(since = "1.2", + reason = "Use slicing syntax instead: &v[..]")] pub fn as_slice(&self) -> &[T] { self } /// Deprecated: use `&mut s[..]` instead. #[inline] - #[unstable(feature = "convert", - reason = "waiting on RFC revision")] + #[deprecated(since = "1.2", + reason = "Use slicing syntax instead: &mut v[..]")] pub fn as_mut_slice(&mut self) -> &mut [T] { &mut self[..] }