Skip to content

Commit f4ffdbf

Browse files
committed
rustdoc: Add copy to the description of repeat
1 parent 534ddc6 commit f4ffdbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/src/slice.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ impl<T> [T] {
458458
hack::into_vec(self)
459459
}
460460

461-
/// Creates a vector by repeating a slice `n` times.
461+
/// Creates a vector by copying a slice `n` times.
462462
///
463463
/// # Panics
464464
///

0 commit comments

Comments
 (0)