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?
This commit is contained in:
commit
80c843431d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue