From ba3b3bcc17a37295b89f21f24ec93f03356d6d99 Mon Sep 17 00:00:00 2001 From: Jay3332 <40323796+jay3332@users.noreply.github.com> Date: Mon, 12 Sep 2022 21:40:28 -0400 Subject: [PATCH] Fix typo in concat_bytes documentation This fixes the typo `&[u8, _]` -> `&[u8; _]` --- library/core/src/macros/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/macros/mod.rs b/library/core/src/macros/mod.rs index b37e9142d8896..fd96e1ff77d53 100644 --- a/library/core/src/macros/mod.rs +++ b/library/core/src/macros/mod.rs @@ -1016,7 +1016,7 @@ pub(crate) mod builtin { /// Concatenates literals into a byte slice. /// /// This macro takes any number of comma-separated literals, and concatenates them all into - /// one, yielding an expression of type `&[u8, _]`, which represents all of the literals + /// one, yielding an expression of type `&[u8; _]`, which represents all of the literals /// concatenated left-to-right. The literals passed can be any combination of: /// /// - byte literals (`b'r'`)