We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d797ebe commit 8dac3b1Copy full SHA for 8dac3b1
library/std/src/sys_common/wtf8.rs
@@ -117,7 +117,7 @@ impl CodePoint {
117
118
/// Returns a Unicode scalar value for the code point.
119
///
120
- /// Returns `'\u{FFFD}'` (the replacement character “ ”)
+ /// Returns `'\u{FFFD}'` (the replacement character “�”)
121
/// if the code point is a surrogate (from U+D800 to U+DFFF).
122
#[inline]
123
pub fn to_char_lossy(&self) -> char {
0 commit comments