-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
Feature gate: #![feature(concat_bytes)]
This is a tracking issue for rust-lang/rfcs#2509
Public API
#[macro_export]
macro_rules! concat_bytes { .. }
Steps / History
- RFC: RFC: Introduce
concat_bytes!()
to join[u8]
and bytestr
analogous toconcat!
forstr
rfcs#2509 - Implementation: Implement concat_bytes! #87599
- Final comment period (FCP)
- Stabilization PR
Unresolved Questions
- Should additional literal types be supported? Byte string literals are basically the same thing as byte slice references, so it might make sense to support those as well (support
&[0, 1, 2]
in addition to[0, 1, 2]
). - What to do with string and character literals? They could either be supported with their underlying UTF-8 representation being concatenated, or rejected.
syvb, kiranshila, zopsicle, n-p-e, ricvelozo and 10 more
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.