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