Skip to content

Commit

Permalink
Wording improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Feb 28, 2020
1 parent 8ce9460 commit e273828
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/librustc_error_codes/error_codes/E0748.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!
```

0 comments on commit e273828

Please sign in to comment.