Skip to content

Commit 89e829c

Browse files
committed
Consistency note
1 parent b279382 commit 89e829c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

proposals/p3797.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ Advantages to `r#` are:
129129
literals. The `r#` syntax offers consistency with this, and will hopefully
130130
be recognizable to users.
131131
- Consistency with Rust.
132+
- Rust uses `r#` for raw string literals, whereas Carbon uses `#`.
132133

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

0 commit comments

Comments
 (0)