diff options
| author | TrolledWoods <trolledwoods@gmail.com> | 2020-03-05 20:20:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-05 20:20:02 +0100 |
| commit | 79bc934ff3ec527a8ec17aa7b1a20ed271ca7508 (patch) | |
| tree | 1934f396a2fe316ca702437311b7c8b9d633c158 /src/liballoc/string.rs | |
| parent | c79f5f064725535f7520e693e69c65c3d0f2730f (diff) | |
| download | rust-79bc934ff3ec527a8ec17aa7b1a20ed271ca7508.tar.gz rust-79bc934ff3ec527a8ec17aa7b1a20ed271ca7508.zip | |
Fixed a typo
"vector" was used instead of "string"
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] |
