diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-04-29 22:22:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-29 22:22:34 +0200 |
| commit | eb3c53071a8e403ea98292f99f520439473ed409 (patch) | |
| tree | c888aea1a57aa98471e54382ca4c3d8ecb89b899 /src/libcore | |
| parent | 96d565be014d462e9bd235bb42ce768cabed16b5 (diff) | |
| parent | e2613f521a640500c83d0f661189d63b02a23b52 (diff) | |
| download | rust-eb3c53071a8e403ea98292f99f520439473ed409.tar.gz rust-eb3c53071a8e403ea98292f99f520439473ed409.zip | |
Rollup merge of #59946 - mernen:patch-2, r=ehuss
Fix equivalent string in escape_default docs This newline should be escaped.
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/str/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/str/mod.rs b/src/libcore/str/mod.rs index 7a5511ee1dc..c765e06301d 100644 --- a/src/libcore/str/mod.rs +++ b/src/libcore/str/mod.rs @@ -4061,7 +4061,7 @@ impl str { /// Both are equivalent to: /// /// ``` - /// println!("\\u{{2764}}\n!"); + /// println!("\\u{{2764}}\\n!"); /// ``` /// /// Using `to_string`: |
