mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 11:07:42 +00:00
Rollup merge of #104112 - yancyribbens:add-copy-to-repeat-description, r=JohnTitor
rustdoc: Add copy to the description of repeat Small nit, but it's more clear to say `copy` here instead of defining `repeat` in terms of itself.
This commit is contained in:
commit
e69b84204a
@ -458,7 +458,7 @@ impl<T> [T] {
|
|||||||
hack::into_vec(self)
|
hack::into_vec(self)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Creates a vector by repeating a slice `n` times.
|
/// Creates a vector by copying a slice `n` times.
|
||||||
///
|
///
|
||||||
/// # Panics
|
/// # Panics
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user