From e2738285ea7374bc6423ea6de095ad0e8990975d Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Thu, 27 Feb 2020 11:12:01 +0100 Subject: [PATCH] Wording improvement --- src/librustc_error_codes/error_codes/E0748.md | 6 ++++-- 1 file 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! ```