diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2021-10-17 18:18:57 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-17 18:18:57 +0200 |
| commit | 1520fffecc2ba17c4e0ca63fe9915e56b46d59be (patch) | |
| tree | 52c698b1b8048d40f512baf9a95ba4595b6a1c17 | |
| parent | eb69090e7b02e11fb74d9560fa9873c3a2fdefa8 (diff) | |
| parent | 1df185ac02c53ff206ce75aef3ab0bcfa3e0eda4 (diff) | |
| download | rust-1520fffecc2ba17c4e0ca63fe9915e56b46d59be.tar.gz rust-1520fffecc2ba17c4e0ca63fe9915e56b46d59be.zip | |
Rollup merge of #89945 - JohnTitor:we-now-specialize-clone-from-slice, r=the8472
Remove a mention to `copy_from_slice` from `clone_from_slice` doc Fixes #84736 I think removing it would be the best but I'm happy to clarify it instead if someone would like.
| -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. |
