mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
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
@ -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…
Reference in New Issue
Block a user