rustdoc: Add copy to the description of repeat

This commit is contained in:
yancy 2022-11-07 17:11:41 +01:00
parent 534ddc6166
commit f4ffdbfaad

View File

@ -458,7 +458,7 @@ impl<T> [T] {
hack::into_vec(self)
}
/// Creates a vector by repeating a slice `n` times.
/// Creates a vector by copying a slice `n` times.
///
/// # Panics
///