We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb46d2b commit 6e265c5Copy full SHA for 6e265c5
src/liballoc/vec.rs
@@ -1472,7 +1472,7 @@ impl<T: Clone> Vec<T> {
1472
/// difference, with each additional slot filled with `value`.
1473
/// If `new_len` is less than `len`, the `Vec` is simply truncated.
1474
///
1475
- /// This method requires `T` to implement [`Clone`],
+ /// This method requires `T` to implement [`Clone`],
1476
/// in order to be able to clone the passed value.
1477
/// If you need more flexibility (or want to rely on [`Default`] instead of
1478
/// [`Clone`]), use [`resize_with`].
0 commit comments