Skip to content

Commit cc6838b

Browse files
committed
---
yaml --- r: 6429 b: refs/heads/master c: 532642f h: refs/heads/master i: 6427: 6601db6 v: v3
1 parent 94d98db commit cc6838b

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: bd16aac903357e30e1e3d3fe8390d6a6e2b7434c
2+
refs/heads/master: 532642f425a4e3c05d848299aec2b95e66e7909c

trunk/doc/tutorial/syntax.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,12 @@ character escapes, using the backslash character:
240240
String literals allow the same escape sequences. They are written
241241
between double quotes (`"hello"`). Rust strings may contain newlines.
242242
When a newline is preceded by a backslash, it, and all white space
243-
following it, will not appear in the resulting string literal.
243+
following it, will not appear in the resulting string literal. So
244+
this is equivalent to `"abc"`:
245+
246+
let s = "a\
247+
b\
248+
c";
244249

245250
## Operators
246251

0 commit comments

Comments
 (0)