Remove a mention to copy_from_slice
from clone_from_slice
doc
This commit is contained in:
parent
6cc0a764e0
commit
1df185ac02
1 changed files with 0 additions and 3 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue