Function slash_formatter::concat_with_file_separator [−][src]
pub fn concat_with_file_separator<S1: Into<String>, S2: AsRef<str>>(
s1: S1,
s2: S2
) -> String
Concatenate two strings with FILE_SEPARATOR
.
extern crate slash_formatter; assert_eq!( concat!("path", slash_formatter::file_separator!(), "to"), slash_formatter::concat_with_file_separator( "path", concat!("to", slash_formatter::file_separator!()) ) );