We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e9be19 commit cd5dca3Copy full SHA for cd5dca3
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