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 bd16aac commit 532642fCopy full SHA for 532642f
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