Skip to content

Commit

Permalink
Merge pull request rust-lang#784 from bgeron/remove-erroneous-duplica…
Browse files Browse the repository at this point in the history
…tion

Clarify rule for end-of-line backslashes in strings
  • Loading branch information
ehuss committed Mar 31, 2020
2 parents 59c1c1d + d69a6d1 commit 89dd146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tokens.md
Expand Up @@ -154,7 +154,7 @@ Line-breaks are allowed in string literals. A line-break is either a newline
(`U+000A`) or a pair of carriage return and newline (`U+000D`, `U+000A`). Both
byte sequences are normally translated to `U+000A`, but as a special exception,
when an unescaped `U+005C` character (`\`) occurs immediately before the
line-break, the `U+005C` character, the line-break, and all whitespace at the
line-break, then the `U+005C` character, the line-break, and all whitespace at the
beginning of the next line are ignored. Thus `a` and `b` are equal:

```rust
Expand Down

0 comments on commit 89dd146

Please sign in to comment.