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.
extern crate concat_with;
assert_eq!;
assert_eq!;
assert_eq!;
Prefixes and suffixes can also be added.
extern crate concat_with;
assert_eq!;
Crates.io
https://crates.io/crates/concat-with