We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2ba3ece + fdc80af commit 50c89b6Copy full SHA for 50c89b6
library/std/src/ffi/os_str.rs
@@ -203,8 +203,8 @@ impl OsString {
203
self
204
}
205
206
- /// Converts the `OsString` into a byte slice. To convert the byte slice back into an
207
- /// `OsString`, use the [`OsStr::from_encoded_bytes_unchecked`] function.
+ /// Converts the `OsString` into a byte vector. To convert the byte vector back into an
+ /// `OsString`, use the [`OsString::from_encoded_bytes_unchecked`] function.
208
///
209
/// The byte encoding is an unspecified, platform-specific, self-synchronizing superset of UTF-8.
210
/// By being a self-synchronizing superset of UTF-8, this encoding is also a superset of 7-bit
0 commit comments