Expand description
Provides the concat_strs!
macro, which allows quickly building a String
from a number of components.
Example usage:
use concat_strs::concat_strs;
assert_eq!(
"foo_bar_3.0",
concat_strs!(
"foo",
'_',
"bar",
'_',
3.0,
)
);
Macrosยง
- concat_
strs - Concatenates a number of
&str
expressions,&str
literals, andchar
literals together.