diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-04-04 10:56:06 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-04-04 10:56:06 +0530 |
| commit | 0daa00582664187ef873007b858e8b6a378e2e2c (patch) | |
| tree | e8cdafda37ef79e0748a21742dbdc27a563205ef /src | |
| parent | 9ebb53ea5f5312b8a95be4435fa167b7189e9e16 (diff) | |
| parent | 2f63e9c127ceff853f560a8a74f6d37c8ebad400 (diff) | |
| download | rust-0daa00582664187ef873007b858e8b6a378e2e2c.tar.gz rust-0daa00582664187ef873007b858e8b6a378e2e2c.zip | |
Rollup merge of #24012 - tsion:patch-1, r=steveklabnik
This was brought up in IRC by a confused reader. r? steveklabnik
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcollections/vec.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcollections/vec.rs b/src/libcollections/vec.rs index 087b065031f..b767a1ea054 100644 --- a/src/libcollections/vec.rs +++ b/src/libcollections/vec.rs @@ -185,7 +185,7 @@ impl<T> Vec<T> { /// # Examples /// /// ``` - /// let mut vec: Vec<_> = Vec::with_capacity(10); + /// let mut vec = Vec::with_capacity(10); /// /// // The vector contains no items, even though it has capacity for more /// assert_eq!(vec.len(), 0); |
