mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 01:05:39 +03:00
Remove a mention to copy_from_slice from clone_from_slice doc
This commit is contained in:
@@ -2953,9 +2953,6 @@ pub fn fill_with<F>(&mut self, mut f: F)
|
||||
///
|
||||
/// 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.
|
||||
|
||||
Reference in New Issue
Block a user