mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 14:52:56 +03:00
rustdoc: Add copy to the description of repeat
This commit is contained in:
@@ -458,7 +458,7 @@ pub fn into_vec<A: Allocator>(self: Box<Self, A>) -> Vec<T, A> {
|
||||
hack::into_vec(self)
|
||||
}
|
||||
|
||||
/// Creates a vector by repeating a slice `n` times.
|
||||
/// Creates a vector by copying a slice `n` times.
|
||||
///
|
||||
/// # Panics
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user