Skip to content

Commit 1df185a

Browse files
committed
Remove a mention to copy_from_slice from clone_from_slice doc
1 parent 6cc0a76 commit 1df185a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

library/core/src/slice/mod.rs

-3
Original file line numberDiff line numberDiff line change
@@ -2953,9 +2953,6 @@ impl<T> [T] {
29532953
///
29542954
/// The length of `src` must be the same as `self`.
29552955
///
2956-
/// If `T` implements `Copy`, it can be more performant to use
2957-
/// [`copy_from_slice`].
2958-
///
29592956
/// # Panics
29602957
///
29612958
/// This function will panic if the two slices have different lengths.

0 commit comments

Comments
 (0)