Auto merge of #25838 - mbrubeck:doc-edit, r=steveklabnik
Fixes #25622. r? @steveklabnik
This commit is contained in:
commit
db1c761b7e
@ -440,6 +440,8 @@ impl<T> Vec<T> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Extracts a slice containing the entire vector.
|
/// Extracts a slice containing the entire vector.
|
||||||
|
///
|
||||||
|
/// Equivalent to `&s[..]`.
|
||||||
#[inline]
|
#[inline]
|
||||||
#[unstable(feature = "convert",
|
#[unstable(feature = "convert",
|
||||||
reason = "waiting on RFC revision")]
|
reason = "waiting on RFC revision")]
|
||||||
@ -447,7 +449,9 @@ impl<T> Vec<T> {
|
|||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Deprecated: use `&mut s[..]` instead.
|
/// Extracts a mutable slice of the entire vector.
|
||||||
|
///
|
||||||
|
/// Equivalent to `&mut s[..]`.
|
||||||
#[inline]
|
#[inline]
|
||||||
#[unstable(feature = "convert",
|
#[unstable(feature = "convert",
|
||||||
reason = "waiting on RFC revision")]
|
reason = "waiting on RFC revision")]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user