pub fn concat_with_file_separator_in_place<S2: AsRef<str>>(
s1: &mut String,
s2: S2
)
Expand description
Concatenate two strings with FILE_SEPARATOR
.
let mut s = String::from("path");
slash_formatter::concat_with_file_separator_in_place(
&mut s,
concat!("to", slash_formatter::file_separator!()),
);
assert_eq!(concat!("path", slash_formatter::file_separator!(), "to"), s);