From 1df185ac02c53ff206ce75aef3ab0bcfa3e0eda4 Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Sat, 16 Oct 2021 17:30:34 +0900 Subject: [PATCH] Remove a mention to `copy_from_slice` from `clone_from_slice` doc --- library/core/src/slice/mod.rs | 3 --- 1 file changed, 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] { /// /// 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.