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