Auto merge of #25838 - mbrubeck:doc-edit, r=steveklabnik

Fixes #25622. r? @steveklabnik
This commit is contained in:
bors 2015-05-29 10:13:05 +00:00
commit db1c761b7e

View file

@ -440,6 +440,8 @@ pub fn truncate(&mut self, len: usize) {
}
/// Extracts a slice containing the entire vector.
///
/// Equivalent to `&s[..]`.
#[inline]
#[unstable(feature = "convert",
reason = "waiting on RFC revision")]
@ -447,7 +449,9 @@ pub fn as_slice(&self) -> &[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")]