We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94d98db commit cc6838bCopy full SHA for cc6838b
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: bd16aac903357e30e1e3d3fe8390d6a6e2b7434c
+refs/heads/master: 532642f425a4e3c05d848299aec2b95e66e7909c
trunk/doc/tutorial/syntax.md
@@ -240,7 +240,12 @@ character escapes, using the backslash character:
240
String literals allow the same escape sequences. They are written
241
between double quotes (`"hello"`). Rust strings may contain newlines.
242
When a newline is preceded by a backslash, it, and all white space
243
-following it, will not appear in the resulting string literal.
+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";
249
250
## Operators
251
0 commit comments