Skip to content

Commit 80c8434

Browse files
authored
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?
2 parents 67d735c + 79bc934 commit 80c8434

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/liballoc/string.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ impl String {
407407
///
408408
/// assert_eq!(s.capacity(), cap);
409409
///
410-
/// // ...but this may make the vector reallocate
410+
/// // ...but this may make the string reallocate
411411
/// s.push('a');
412412
/// ```
413413
#[inline]

0 commit comments

Comments
 (0)