We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8dac3b1 commit dd4f59eCopy full SHA for dd4f59e
library/std/src/sys_common/wtf8.rs
@@ -438,7 +438,7 @@ impl Wtf8Buf {
438
///
439
/// This does not copy the data (but may overwrite parts of it in place).
440
441
- /// Surrogates are replaced with `"\u{FFFD}"` (the replacement character “ ”)
+ /// Surrogates are replaced with `"\u{FFFD}"` (the replacement character “�”)
442
pub fn into_string_lossy(mut self) -> String {
443
// Fast path: If we already have UTF-8, we can return it immediately.
444
if self.is_known_utf8 {
0 commit comments