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.
This commit is contained in:
commit
1520fffecc
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`.
|
/// 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
|
/// # Panics
|
||||||
///
|
///
|
||||||
/// This function will panic if the two slices have different lengths.
|
/// This function will panic if the two slices have different lengths.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue