[−][src]Macro slash_formatter::concat_with_slash
Concatenate multiple strings with slashes.
#[macro_use] extern crate slash_formatter; assert_eq!("path/to/file", concat_with_slash!("path", "to/", "/file/")); let s = String::from("path"); let s = concat_with_slash!(s, "to/", "/file/"); assert_eq!("path/to/file", s);