mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 13:05:18 +03:00
Wording improvement
This commit is contained in:
@@ -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!
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user