diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-02-27 11:12:01 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-02-28 16:01:04 +0100 |
| commit | e2738285ea7374bc6423ea6de095ad0e8990975d (patch) | |
| tree | 250c05c323f6eb4e744eb3032372f953a11e6e54 /src/librustc_error_codes | |
| parent | 8ce9460b7a132fa4075325d2ae4c4b4ecd09ffd0 (diff) | |
| download | rust-e2738285ea7374bc6423ea6de095ad0e8990975d.tar.gz rust-e2738285ea7374bc6423ea6de095ad0e8990975d.zip | |
Wording improvement
Diffstat (limited to 'src/librustc_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! ``` |
