Concat With
While the concat! macro in std is useful to create a static string slice (&'static str) from literals, it cannot set a separator for those. This crate therefore provides another concat! macro to deal with that situation.
assert_eq!;
assert_eq!;
assert_eq!;
Prefixes and suffixes can also be added.
assert_eq!;
Create Your Own Macros
The concat_impl! macro can be used to create your own macros like concat_line! which concatenates literals separated by a specific literal.
pub use ; // re-export `concat!` and `concat_impl!` if your custom macros use `#[macro_export]`
concat_impl!
assert_eq!;
assert_eq!;
Crates.io
https://crates.io/crates/concat-with