Skip to content

Commit 89dd146

Browse files
authored
Merge pull request rust-lang#784 from bgeron/remove-erroneous-duplication
Clarify rule for end-of-line backslashes in strings
2 parents 59c1c1d + d69a6d1 commit 89dd146

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tokens.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ Line-breaks are allowed in string literals. A line-break is either a newline
154154
(`U+000A`) or a pair of carriage return and newline (`U+000D`, `U+000A`). Both
155155
byte sequences are normally translated to `U+000A`, but as a special exception,
156156
when an unescaped `U+005C` character (`\`) occurs immediately before the
157-
line-break, the `U+005C` character, the line-break, and all whitespace at the
157+
line-break, then the `U+005C` character, the line-break, and all whitespace at the
158158
beginning of the next line are ignored. Thus `a` and `b` are equal:
159159

160160
```rust

0 commit comments

Comments
 (0)