diff options
| author | Yuki Okushi <yuki.okushi@huawei.com> | 2021-10-16 17:30:34 +0900 |
|---|---|---|
| committer | Yuki Okushi <yuki.okushi@huawei.com> | 2021-10-16 17:30:34 +0900 |
| commit | 1df185ac02c53ff206ce75aef3ab0bcfa3e0eda4 (patch) | |
| tree | 4ed6baf6f09f2d87d9f2dc37f549ab29e0e2308a | |
| parent | 6cc0a764e082d9c0abcf37a768d5889247ba13e2 (diff) | |
| download | rust-1df185ac02c53ff206ce75aef3ab0bcfa3e0eda4.tar.gz rust-1df185ac02c53ff206ce75aef3ab0bcfa3e0eda4.zip | |
Remove a mention to `copy_from_slice` from `clone_from_slice` doc
| -rw-r--r-- | library/core/src/slice/mod.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/library/core/src/slice/mod.rs b/library/core/src/slice/mod.rs index c0e0589d5ed..664875a8773 100644 --- a/library/core/src/slice/mod.rs +++ b/library/core/src/slice/mod.rs @@ -2953,9 +2953,6 @@ impl<T> [T] { /// /// The length of `src` must be the same as `self`. /// - /// If `T` implements `Copy`, it can be more performant to use - /// [`copy_from_slice`]. - /// /// # Panics /// /// This function will panic if the two slices have different lengths. |
