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

Concatenate two strings with a slash.

extern crate slash_formatter;

let s = String::from("path");

let s = slash_formatter::concat_with_slash_owned(s, "to/");

assert_eq!("path/to", s);