Function slash_formatter::concat_with_slash[][src]

pub fn concat_with_slash<S1: Into<String>, S2: AsRef<str>>(
    s1: S1,
    s2: S2
) -> String

Concatenate two strings with a slash.

extern crate slash_formatter;

assert_eq!("path/to", slash_formatter::concat_with_slash("path", "to/"));