[−][src]Macro slash_formatter::slash_in_place
Concatenate multiple strings with slashes. It can also be used to get the literal '/'
.
#[macro_use] extern crate slash_formatter; let mut s = String::from("path"); slash_in_place!(&mut s, "to/", "/file/"); assert_eq!("path/to/file", s);