diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-03-05 22:04:12 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-05 22:04:12 +0100 |
| commit | 80c843431d54a4afb7ec92ceaa37cf4faa0a0653 (patch) | |
| tree | d15347f091fb939b99cb02098bd53c90b9e878fc /src/liballoc/string.rs | |
| parent | 67d735c4bf99dbbbe2eea9a90a0149ffa942f492 (diff) | |
| parent | 79bc934ff3ec527a8ec17aa7b1a20ed271ca7508 (diff) | |
| download | rust-80c843431d54a4afb7ec92ceaa37cf4faa0a0653.tar.gz rust-80c843431d54a4afb7ec92ceaa37cf4faa0a0653.zip | |
Rollup merge of #69742 - TrolledWoods:patch-1, r=jonas-schievink
Fixed a typo "vector" was used instead of "string". I think this is a typo?
Diffstat (limited to 'src/liballoc/string.rs')
| -rw-r--r-- | src/liballoc/string.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/string.rs b/src/liballoc/string.rs index f5afea15d65..c95f79472fe 100644 --- a/src/liballoc/string.rs +++ b/src/liballoc/string.rs @@ -407,7 +407,7 @@ impl String { /// /// assert_eq!(s.capacity(), cap); /// - /// // ...but this may make the vector reallocate + /// // ...but this may make the string reallocate /// s.push('a'); /// ``` #[inline] |
