Skip to content

Commit

Permalink
Remove a mention to copy_from_slice from clone_from_slice doc
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Oct 16, 2021
1 parent 6cc0a76 commit 1df185a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions library/core/src/slice/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1df185a

Please sign in to comment.