Skip to content

Commit b87d5a0

Browse files
authored
b'...' byte strings -> byte chars
1 parent f63e578 commit b87d5a0

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)