From e2613f521a640500c83d0f661189d63b02a23b52 Mon Sep 17 00:00:00 2001 From: Daniel Luz Date: Sat, 13 Apr 2019 16:44:21 -0300 Subject: [PATCH] Fix equivalent string in escape_default --- src/libcore/str/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/str/mod.rs b/src/libcore/str/mod.rs index f54d7badc3ae0..6939e5f4ea999 100644 --- a/src/libcore/str/mod.rs +++ b/src/libcore/str/mod.rs @@ -4054,7 +4054,7 @@ impl str { /// Both are equivalent to: /// /// ``` - /// println!("\\u{{2764}}\n!"); + /// println!("\\u{{2764}}\\n!"); /// ``` /// /// Using `to_string`: