macro_rules! backslash_in_place {
    () => { ... };
    ($s:expr $(, $sc:expr)* $(,)*) => { ... };
}
Expand description

Concatenate multiple strings with backslashes.

let mut s = String::from("path");

slash_formatter::backslash_in_place!(&mut s, "to\\", "\\file\\");

assert_eq!("path\\to\\file", s);