Skip to content

Commit

Permalink
Rollup merge of rust-lang#24766 - nwin:patch-1, r=steveklabnik
Browse files Browse the repository at this point in the history
Changed in rust-lang#22838.

audited (raw) byte string literals @ rust-lang#16676
  • Loading branch information
steveklabnik committed Apr 24, 2015
2 parents 02ae888 + 38c3b62 commit 755f18f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ preceded by the characters `U+0062` (`b`) and `U+0022` (double-quote), and
followed by the character `U+0022`. If the character `U+0022` is present within
the literal, it must be _escaped_ by a preceding `U+005C` (`\`) character.
Alternatively, a byte string literal can be a _raw byte string literal_, defined
below. A byte string literal is equivalent to a `&'static [u8]` borrowed array
below. A byte string literal of length `n` is equivalent to a `&'static [u8; n]` borrowed fixed-sized array
of unsigned 8-bit integers.

Some additional _escapes_ are available in either byte or non-raw byte string
Expand Down

0 comments on commit 755f18f

Please sign in to comment.