File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -381,11 +381,13 @@ character (`\`), or a single _escape_. It is equivalent to a `u8` unsigned
381381
382382##### Byte string literals
383383
384- A _ byte string literal_ is a sequence of ASCII characters and _ escapes_
385- enclosed within two ` U+0022 ` (double-quote) characters, with the exception of
386- ` U+0022 ` itself, which must be _ escaped_ by a preceding ` U+005C ` character
387- (` \ ` ), or a _ raw byte string literal_ . It is equivalent to a ` &'static [u8] `
388- borrowed array of unsigned 8-bit integers.
384+ A non-raw _ byte string literal_ is a sequence of ASCII characters and _ escapes_ ,
385+ preceded by the characters ` U+0062 ` (` b ` ) and ` U+0022 ` (double-quote), and
386+ followed by the character ` U+0022 ` . If the character ` U+0022 ` is present within
387+ the literal, it must be _ escaped_ by a preceding ` U+005C ` (` \ ` ) character.
388+ Alternatively, a byte string literal can be a _ raw byte string literal_ , defined
389+ below. A byte string literal is equivalent to a ` &'static [u8] ` borrowed array
390+ of unsigned 8-bit integers.
389391
390392Some additional _ escapes_ are available in either byte or non-raw byte string
391393literals. An escape starts with a ` U+005C ` (` \ ` ) and continues with one of the
You can’t perform that action at this time.
0 commit comments