Macro byte_strings::const_concat [−][src]
macro_rules! const_concat {
($($s : expr), * $(,) ?) => { ... };
}Expand description
const-friendly version of concat!.
#[macro_use]
extern crate byte_strings;
const GREETING: &str = "Hello";
const MESSAGE: &str = const_concat!(GREETING, ", World!");