Skip to content

Commit

Permalink
Rollup merge of #101745 - jay3332:patch-1, r=JohnTitor
Browse files Browse the repository at this point in the history
Fix typo in concat_bytes documentation

This fixes the typo `&[u8, _]` -> `&[u8; _]`
  • Loading branch information
Dylan-DPC authored Sep 13, 2022
2 parents adcd1fb + ba3b3bc commit 95c9a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/macros/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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'`)
Expand Down

0 comments on commit 95c9a7e

Please sign in to comment.