From 8aacc9e4b767c1c01d31f08bb5a18a74aff69071 Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Tue, 24 May 2022 21:03:42 -0400 Subject: [PATCH] Correct byte string literal type. Fixes #2631. --- src/appendix-02-operators.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/appendix-02-operators.md b/src/appendix-02-operators.md index 68c0d0bb8b..ec1d2d3e0e 100644 --- a/src/appendix-02-operators.md +++ b/src/appendix-02-operators.md @@ -86,7 +86,7 @@ locations. | `...u8`, `...i32`, `...f64`, `...usize`, etc. | Numeric literal of specific type | | `"..."` | String literal | | `r"..."`, `r#"..."#`, `r##"..."##`, etc. | Raw string literal, escape characters not processed | -| `b"..."` | Byte string literal; constructs a `[u8]` instead of a string | +| `b"..."` | Byte string literal; constructs an array of bytes instead of a string | | `br"..."`, `br#"..."#`, `br##"..."##`, etc. | Raw byte string literal, combination of raw and byte string literal | | `'...'` | Character literal | | `b'...'` | ASCII byte literal |