File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -348,10 +348,11 @@ str3 = "Roses are red\r\nViolets are blue"
348
348
```
349
349
350
350
For writing long strings without introducing extraneous whitespace, use a "line
351
- ending backslash". When the last non-whitespace character on a line is a ` \ ` , it
352
- will be trimmed along with all whitespace (including newlines) up to the next
353
- non-whitespace character or closing delimiter. All of the escape sequences that
354
- are valid for basic strings are also valid for multi-line basic strings.
351
+ ending backslash". When the last non-whitespace character on a line is an
352
+ unescaped ` \ ` , it will be trimmed along with all whitespace (including newlines)
353
+ up to the next non-whitespace character or closing delimiter. All of the escape
354
+ sequences that are valid for basic strings are also valid for multi-line basic
355
+ strings.
355
356
356
357
``` toml
357
358
# The following strings are byte-for-byte equivalent:
You can’t perform that action at this time.
0 commit comments