mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
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.
|
||||
///
|
||||
/// 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")]
|
||||
|
Loading…
Reference in New Issue
Block a user