We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27b92c9 commit 9166428Copy full SHA for 9166428
library/std/src/ffi/os_str.rs
@@ -267,7 +267,7 @@ impl OsString {
267
}
268
269
/// Tries to reserve capacity for at least `additional` more elements to be inserted
270
- /// in the given `OsString`. The collection may reserve more space to avoid
+ /// in the given `OsString`. The string may reserve more space to avoid
271
/// frequent reallocations. After calling `try_reserve`, capacity will be
272
/// greater than or equal to `self.len() + additional`. Does nothing if
273
/// capacity is already sufficient.
0 commit comments