Skip to content

Commit a326a18

Browse files
jplatteestebank
authored andcommitted
byte-concat: Improve wording about the output of concat_bytes!
1 parent 02afa73 commit a326a18

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

text/0000-byte-concat.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ equivalent capability for `[u8]` instead of `str`.
1919
# Guide-level explanation
2020
[guide-level-explanation]: #guide-level-explanation
2121

22-
The `concat_bytes!()` macro concatenates literals into a static byte slice.
23-
The following literal types are supported:
22+
The `concat_bytes!()` macro concatenates literals into a byte string literal
23+
(an expression of the type `&[u8; N]`). The following literal types are
24+
supported as inputs:
2425

2526
- byte string literals (`b"..."`)
2627
- byte literals (`b'b'`)

0 commit comments

Comments
 (0)