Skip to content

Commit dd4f59e

Browse files
fix library/std/src/sys_common/wtf8.rs
Co-authored-by: GrigorenkoPV <[email protected]>
1 parent 8dac3b1 commit dd4f59e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/sys_common/wtf8.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ impl Wtf8Buf {
438438
///
439439
/// This does not copy the data (but may overwrite parts of it in place).
440440
///
441-
/// Surrogates are replaced with `"\u{FFFD}"` (the replacement character “ ”)
441+
/// Surrogates are replaced with `"\u{FFFD}"` (the replacement character “”)
442442
pub fn into_string_lossy(mut self) -> String {
443443
// Fast path: If we already have UTF-8, we can return it immediately.
444444
if self.is_known_utf8 {

0 commit comments

Comments
 (0)