diff options
| author | bors <bors@rust-lang.org> | 2015-05-29 10:13:05 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-05-29 10:13:05 +0000 |
| commit | db1c761b7eff3b61935bccc2a2d3ece946425f8e (patch) | |
| tree | c631d341e460960b88440d3981930d98566366e4 | |
| parent | b9eb606801067ef2994d9667e7f424fb331143ab (diff) | |
| parent | 6c2b340fdcb5a38a4e93883f4816b019cb12fc19 (diff) | |
Auto merge of #25838 - mbrubeck:doc-edit, r=steveklabnik
Fixes #25622. r? @steveklabnik
| -rw-r--r-- | src/libcollections/vec.rs | 6 |
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")] |
