diff options
| author | yancy <yancy@yancy.lol> | 2022-11-07 17:11:41 +0100 |
|---|---|---|
| committer | yancy <yancy@yancy.lol> | 2022-11-14 15:21:02 +0100 |
| commit | f4ffdbfaad2b241bb3dc1db7f6b31ec7c1e1da41 (patch) | |
| tree | 11f1345579f7391027be5b6b19820ce9b110e127 /library/alloc/src/slice.rs | |
| parent | 534ddc6166a9031b0c269544929d68f2539ea7a0 (diff) | |
| download | rust-f4ffdbfaad2b241bb3dc1db7f6b31ec7c1e1da41.tar.gz rust-f4ffdbfaad2b241bb3dc1db7f6b31ec7c1e1da41.zip | |
rustdoc: Add copy to the description of repeat
Diffstat (limited to 'library/alloc/src/slice.rs')
| -rw-r--r-- | library/alloc/src/slice.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/slice.rs b/library/alloc/src/slice.rs index a5e7bf2a1a9..1b61ede3476 100644 --- a/library/alloc/src/slice.rs +++ b/library/alloc/src/slice.rs @@ -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 /// |
