fix: correct {Path,OsStr}::to_string_lossy() docs
This commit is contained in:
@@ -852,7 +852,7 @@ impl OsStr {
|
||||
|
||||
/// Converts an `OsStr` to a <code>[Cow]<[str]></code>.
|
||||
///
|
||||
/// Any non-Unicode sequences are replaced with
|
||||
/// Any non-UTF-8 sequences are replaced with
|
||||
/// [`U+FFFD REPLACEMENT CHARACTER`][U+FFFD].
|
||||
///
|
||||
/// [U+FFFD]: crate::char::REPLACEMENT_CHARACTER
|
||||
|
||||
@@ -2200,7 +2200,7 @@ impl Path {
|
||||
|
||||
/// Converts a `Path` to a [`Cow<str>`].
|
||||
///
|
||||
/// Any non-Unicode sequences are replaced with
|
||||
/// Any non-UTF-8 sequences are replaced with
|
||||
/// [`U+FFFD REPLACEMENT CHARACTER`][U+FFFD].
|
||||
///
|
||||
/// [U+FFFD]: super::char::REPLACEMENT_CHARACTER
|
||||
|
||||
Reference in New Issue
Block a user