diff options
| author | Youngsuk Kim <joseph942010@gmail.com> | 2020-02-29 00:52:32 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-29 00:52:32 -0500 |
| commit | fb46d2b82e9d2cf6b9916b533dafb6b29857eaec (patch) | |
| tree | cdb5a2bf17965d95094ebeb9abb29bbb0200ddcc /src/liballoc/vec.rs | |
| parent | 2ad52cd16d9535383bfabaf47a56bf80858b91b0 (diff) | |
| download | rust-fb46d2b82e9d2cf6b9916b533dafb6b29857eaec.tar.gz rust-fb46d2b82e9d2cf6b9916b533dafb6b29857eaec.zip | |
Update src/liballoc/vec.rs
Following suggestion from @jonas-schievink Co-Authored-By: Jonas Schievink <jonasschievink@gmail.com>
Diffstat (limited to 'src/liballoc/vec.rs')
| -rw-r--r-- | src/liballoc/vec.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/vec.rs b/src/liballoc/vec.rs index bcbf931d162..7a0c2c264bf 100644 --- a/src/liballoc/vec.rs +++ b/src/liballoc/vec.rs @@ -1472,7 +1472,7 @@ impl<T: Clone> Vec<T> { /// difference, with each additional slot filled with `value`. /// If `new_len` is less than `len`, the `Vec` is simply truncated. /// - /// This method requires `value` to implement [`Clone`], + /// This method requires `T` to implement [`Clone`], /// in order to be able to clone the passed value. /// If you need more flexibility (or want to rely on [`Default`] instead of /// [`Clone`]), use [`resize_with`]. |
