Skip to content

Commit 8dac3b1

Browse files
fix
Co-authored-by: GrigorenkoPV <[email protected]>
1 parent d797ebe commit 8dac3b1

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
@@ -117,7 +117,7 @@ impl CodePoint {
117117

118118
/// Returns a Unicode scalar value for the code point.
119119
///
120-
/// Returns `'\u{FFFD}'` (the replacement character “ ”)
120+
/// Returns `'\u{FFFD}'` (the replacement character “”)
121121
/// if the code point is a surrogate (from U+D800 to U+DFFF).
122122
#[inline]
123123
pub fn to_char_lossy(&self) -> char {

0 commit comments

Comments
 (0)