Function slash_formatter::concat_with_slash_owned
source · 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);