Rollup merge of #59946 - mernen:patch-2, r=ehuss
Fix equivalent string in escape_default docs This newline should be escaped.
This commit is contained in:
commit
eb3c53071a
1 changed files with 1 additions and 1 deletions
|
|
@ -4061,7 +4061,7 @@ impl str {
|
|||
/// Both are equivalent to:
|
||||
///
|
||||
/// ```
|
||||
/// println!("\\u{{2764}}\n!");
|
||||
/// println!("\\u{{2764}}\\n!");
|
||||
/// ```
|
||||
///
|
||||
/// Using `to_string`:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue