Fix typo in concat_bytes documentation
This fixes the typo `&[u8, _]` -> `&[u8; _]`
This commit is contained in:
parent
089584db01
commit
ba3b3bcc17
1 changed files with 1 additions and 1 deletions
|
@ -1016,7 +1016,7 @@ pub(crate) mod builtin {
|
||||||
/// Concatenates literals into a byte slice.
|
/// Concatenates literals into a byte slice.
|
||||||
///
|
///
|
||||||
/// This macro takes any number of comma-separated literals, and concatenates them all into
|
/// 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:
|
/// concatenated left-to-right. The literals passed can be any combination of:
|
||||||
///
|
///
|
||||||
/// - byte literals (`b'r'`)
|
/// - byte literals (`b'r'`)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue