macro_rules! constcat {
    ($($e:expr),* $(,)?) => { ... };
}
Expand description

Concatenate &str const expressions and literals into a static string slice.

This macro takes any number of comma-separated literals or constant expressions and yields an expression of type &'static str which represents all of the literals and expressions concatenated left-to-right.

Integer, floating point, and boolean literals are stringified in order to be concatenated.

See the crate documentation for examples.