Skip to content

Commit

Permalink
Consistency note
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmeow committed Mar 19, 2024
1 parent 9918272 commit b290484
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions proposals/p3797.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ Advantages to `r#` are:
literals. The `r#` syntax offers consistency with this, and will hopefully
be recognizable to users.
- Consistency with Rust.
- Rust uses `r#` for raw string literals, whereas Carbon uses `#`.

A disadvantage is that any `r`-prefixed identifier parses substantially slower,
as noted by the benchmarks in
Expand Down

0 comments on commit b290484

Please sign in to comment.