about summary refs log tree commit diff
path: root/src/liballoc/vec.rs
diff options
context:
space:
mode:
authorJens Hausdorf <mail@jens-hausdorf.de>2019-03-01 13:19:00 +0100
committerGitHub <noreply@github.com>2019-03-01 13:19:00 +0100
commit670a4d65d577cfc59eefe8eb0b73d5b027ea0038 (patch)
treea9701618e4d37565074386d4a759d945b01deb5a /src/liballoc/vec.rs
parent7b4f8f969caa9321b2c4881b00162ee2d68896fd (diff)
downloadrust-670a4d65d577cfc59eefe8eb0b73d5b027ea0038.tar.gz
rust-670a4d65d577cfc59eefe8eb0b73d5b027ea0038.zip
Fix typo in Vec#resize_with documentation
Diffstat (limited to 'src/liballoc/vec.rs')
-rw-r--r--src/liballoc/vec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/vec.rs b/src/liballoc/vec.rs
index 229dafc5fdc..947ce354ae7 100644
--- a/src/liballoc/vec.rs
+++ b/src/liballoc/vec.rs
@@ -1260,7 +1260,7 @@ impl<T> Vec<T> {
     /// This method uses a closure to create new values on every push. If
     /// you'd rather [`Clone`] a given value, use [`resize`]. If you want
     /// to use the [`Default`] trait to generate values, you can pass
-    /// [`Default::default()`] as the second argument..
+    /// [`Default::default()`] as the second argument.
     ///
     /// # Examples
     ///