From 2f28e83e537c6e4e1f3f47736d6e09cba6baeeb0 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 --- reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference.md b/reference.md index fdb791374b1a9..9a599210a5884 100644 --- a/reference.md +++ b/reference.md @@ -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