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:
Dylan DPC 2020-03-05 22:04:12 +01:00 committed by GitHub
commit 80c843431d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]