Tobias Bucher ce6baa77fe Clarify how Rust treats backslashes at end of line in string literals
Rust differs in that behavior from C: In C, the newline escapes are resolved
before anything else, and in Rust this depends on whether the backslash is
escaped itself.

A difference can be observed in the following two programs:

```c
#include <stdio.h>
int main()
{
	printf("\\
n\n");
	return 0;
}
```

```rust
fn main() {
	println!("\\
n");
}
```

The first program prints two newlines, the second one prints a backslash, a
newline, the latin character n and a final newline.
2016-01-06 00:04:25 +01:00
..
2015-12-17 05:43:27 +00:00
2015-12-25 15:46:36 -05:00
2015-12-24 21:39:38 -05:00
2015-12-21 13:34:48 -08:00
2015-12-21 09:26:21 -08:00
2015-12-21 09:26:21 -08:00
2015-12-21 09:26:21 -08:00
2015-12-21 09:26:21 -08:00
2015-12-21 09:26:21 -08:00
2015-12-21 09:26:21 -08:00
2015-12-21 13:36:23 +01:00
2015-12-21 09:26:21 -08:00
2015-12-21 09:26:21 -08:00
2015-12-30 14:27:59 +13:00
2015-12-30 14:27:59 +13:00
2015-12-30 14:27:59 +13:00
2015-12-21 09:26:21 -08:00
2015-12-30 14:27:59 +13:00
2015-12-30 14:27:59 +13:00
2015-12-21 09:26:21 -08:00
2015-12-21 09:26:21 -08:00
2015-12-30 14:27:59 +13:00
2015-12-21 09:26:21 -08:00
2015-12-22 09:03:46 -08:00
2015-12-21 09:26:21 -08:00