Tracking Issue for RFC2509: concat_bytes!() · Issue #87555 · rust-lang/rust (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
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 byte str analogous to concat! for str 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.