1 2 3 4 5 6 7 8 9 10 11 12
#[macro_export] macro_rules! concat { ( $( $x:expr ),* ) => { { let mut temp_string = String::new() $( temp_string = [temp_string, $x].concat(); )* temp_string } }; }