diff options
Diffstat (limited to 'src/librustc_error_codes/error_codes')
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0748.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/librustc_error_codes/error_codes/E0748.md b/src/librustc_error_codes/error_codes/E0748.md index 7743c722eee..69f1c026125 100644 --- a/src/librustc_error_codes/error_codes/E0748.md +++ b/src/librustc_error_codes/error_codes/E0748.md @@ -6,9 +6,11 @@ Erroneous code example: ```compile_fail,E0748 let dolphins = r##"Dolphins!"#; // error! ``` + To terminate a raw string, you have to have the same number of `#` at the end -than at the beginning. Example: +as at the beginning. Example: + ``` -let dolphins = r#"Dolphins!"#; // one `#` at the beginning, one at the end so +let dolphins = r#"Dolphins!"#; // One `#` at the beginning, one at the end so // all good! ``` |
