We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51bbc6e commit e9c6347Copy full SHA for e9c6347
library/alloc/src/string.rs
@@ -2150,7 +2150,7 @@ impl FromUtf8Error {
2150
/// let input: Vec<u8> = b"Hello \xF0\x90\x80World".into();
2151
/// let output = String::from_utf8(input).unwrap_or_else(|e| e.into_utf8_lossy());
2152
///
2153
- /// assert_eq!(String::from("Hello World"), output);
+ /// assert_eq!(String::from("Hello �World"), output);
2154
/// ```
2155
#[must_use]
2156
#[cfg(not(no_global_oom_handling))]
0 commit comments