Skip to content

Commit 1226907

Browse files
committed
Simplify wording for the type of byte string literals
1 parent 172fc7f commit 1226907

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/tokens.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,7 @@ preceded by the characters `U+0062` (`b`) and `U+0022` (double-quote), and
227227
followed by the character `U+0022`. If the character `U+0022` is present within
228228
the literal, it must be _escaped_ by a preceding `U+005C` (`\`) character.
229229
Alternatively, a byte string literal can be a _raw byte string literal_, defined
230-
below. A byte string literal of length `n` is equivalent to a `&'static [u8; n]` borrowed fixed-sized array
231-
of unsigned 8-bit integers.
230+
below. The type of a byte string literal of length `n` is `&'static [u8; n]`.
232231

233232
Some additional _escapes_ are available in either byte or non-raw byte string
234233
literals. An escape starts with a `U+005C` (`\`) and continues with one of the

0 commit comments

Comments
 (0)