Skip to content

Commit cf59aca

Browse files
authored
Merge pull request #282 from w1kee/patch-1
b'...' byte strings -> byte chars
2 parents f63e578 + b87d5a0 commit cf59aca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rust-2021/reserving-syntax.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ we've decided to reserve syntax for prefixed identifiers and literals:
1717
`prefix#identifier`, `prefix"string"`, `prefix'c'`, and `prefix#123`,
1818
where `prefix` can be any identifier.
1919
(Except those prefixes that already have a meaning, such as `b'...'` (byte
20-
strings) and `r"..."` (raw strings).)
20+
chars) and `r"..."` (raw strings).)
2121

2222
This provides syntax we can expand into in the future without requiring an
2323
edition boundary. We may use this for temporary syntax until the next edition,
@@ -82,4 +82,4 @@ This `z` prefix is no longer allowed in Rust 2021, so in order to call this macr
8282

8383
```rust,ignore
8484
my_macro!(z "hey");
85-
```
85+
```

0 commit comments

Comments
 (0)