diff options
| author | Jay3332 <40323796+jay3332@users.noreply.github.com> | 2022-09-12 21:40:28 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-12 21:40:28 -0400 |
| commit | ba3b3bcc17a37295b89f21f24ec93f03356d6d99 (patch) | |
| tree | 4b1ffac9dfecdecc76f632cb671341a0cd5b6661 | |
| parent | 089584db01c85c24cc98a532eb7d02f651a2c137 (diff) | |
| download | rust-ba3b3bcc17a37295b89f21f24ec93f03356d6d99.tar.gz rust-ba3b3bcc17a37295b89f21f24ec93f03356d6d99.zip | |
Fix typo in concat_bytes documentation
This fixes the typo `&[u8, _]` -> `&[u8; _]`
| -rw-r--r-- | library/core/src/macros/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/macros/mod.rs b/library/core/src/macros/mod.rs index b37e9142d88..fd96e1ff77d 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'`) |
