Fix typo in concat_bytes documentation

This fixes the typo `&[u8, _]` -> `&[u8; _]`
This commit is contained in:
Jay3332 2022-09-12 21:40:28 -04:00 committed by GitHub
parent 089584db01
commit ba3b3bcc17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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'`)