Skip to content

Commit e2613f5

Browse files
authored
Fix equivalent string in escape_default
1 parent e4c66af commit e2613f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/str/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4054,7 +4054,7 @@ impl str {
40544054
/// Both are equivalent to:
40554055
///
40564056
/// ```
4057-
/// println!("\\u{{2764}}\n!");
4057+
/// println!("\\u{{2764}}\\n!");
40584058
/// ```
40594059
///
40604060
/// Using `to_string`:

0 commit comments

Comments
 (0)