Fixed a typo
"vector" was used instead of "string"
This commit is contained in:
parent
c79f5f0647
commit
79bc934ff3
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user