We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd4f59e commit 4ccc716Copy full SHA for 4ccc716
library/std/src/sys_common/wtf8.rs
@@ -668,7 +668,7 @@ impl Wtf8 {
668
/// Lossily converts the string to UTF-8.
669
/// Returns a UTF-8 `&str` slice if the contents are well-formed in UTF-8.
670
///
671
- /// Surrogates are replaced with `"\u{FFFD}"` (the replacement character “ ”).
+ /// Surrogates are replaced with `"\u{FFFD}"` (the replacement character “�”).
672
673
/// This only copies the data if necessary (if it contains any surrogate).
674
pub fn to_string_lossy(&self) -> Cow<'_, str> {
0 commit comments