From 38c3b62e83a8b4bb72a3d302861f13ae55489953 Mon Sep 17 00:00:00 2001 From: nwin Date: Fri, 24 Apr 2015 11:12:53 +0200 Subject: [PATCH] Byte string literals are now fixed-size arrays Changed in #22838. audited (raw) byte string literals @ #16676 --- src/doc/reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/reference.md b/src/doc/reference.md index a61d635af7d..e46532dbf3e 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -403,7 +403,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