Skip to content

Commit

Permalink
Fixed a typo
Browse files Browse the repository at this point in the history
"vector" was used instead of "string"
  • Loading branch information
TrolledWoods committed Mar 5, 2020
1 parent c79f5f0 commit 79bc934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liballoc/string.rs
Expand Up @@ -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]
Expand Down

0 comments on commit 79bc934

Please sign in to comment.