We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 842d6fc commit 49a93dfCopy full SHA for 49a93df
library/std/src/ffi/os_str.rs
@@ -852,7 +852,7 @@ impl OsStr {
852
853
/// Converts an `OsStr` to a <code>[Cow]<[str]></code>.
854
///
855
- /// Any non-Unicode sequences are replaced with
+ /// Any non-UTF-8 sequences are replaced with
856
/// [`U+FFFD REPLACEMENT CHARACTER`][U+FFFD].
857
858
/// [U+FFFD]: crate::char::REPLACEMENT_CHARACTER
library/std/src/path.rs
@@ -2200,7 +2200,7 @@ impl Path {
2200
2201
/// Converts a `Path` to a [`Cow<str>`].
2202
2203
2204
2205
2206
/// [U+FFFD]: super::char::REPLACEMENT_CHARACTER
0 commit comments