Function slash_formatter::concat_with_backslash
source · pub fn concat_with_backslash<S1: Into<String>, S2: AsRef<str>>(
s1: S1,
s2: S2
) -> String
Expand description
Concatenate two strings with a backslash.
assert_eq!(
"path\\to",
slash_formatter::concat_with_backslash("path", "to\\")
);