File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -852,7 +852,7 @@ impl OsStr {
852
852
853
853
/// Converts an `OsStr` to a <code>[Cow]<[str]></code>.
854
854
///
855
- /// Any non-Unicode sequences are replaced with
855
+ /// Any non-UTF-8 sequences are replaced with
856
856
/// [`U+FFFD REPLACEMENT CHARACTER`][U+FFFD].
857
857
///
858
858
/// [U+FFFD]: crate::char::REPLACEMENT_CHARACTER
Original file line number Diff line number Diff line change @@ -2200,7 +2200,7 @@ impl Path {
2200
2200
2201
2201
/// Converts a `Path` to a [`Cow<str>`].
2202
2202
///
2203
- /// Any non-Unicode sequences are replaced with
2203
+ /// Any non-UTF-8 sequences are replaced with
2204
2204
/// [`U+FFFD REPLACEMENT CHARACTER`][U+FFFD].
2205
2205
///
2206
2206
/// [U+FFFD]: super::char::REPLACEMENT_CHARACTER
You can’t perform that action at this time.
0 commit comments