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