From fb46d2b82e9d2cf6b9916b533dafb6b29857eaec Mon Sep 17 00:00:00 2001 From: Youngsuk Kim Date: Sat, 29 Feb 2020 00:52:32 -0500 Subject: Update src/liballoc/vec.rs Following suggestion from @jonas-schievink Co-Authored-By: Jonas Schievink --- src/liballoc/vec.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/liballoc') 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 Vec { /// 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`]. -- cgit 1.4.1-3-g733a5