pub fn concat_with_slash_in_place<S2: AsRef<str>>(s1: &mut String, s2: S2)
Expand description

Concatenate two strings with a slash.

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

slash_formatter::concat_with_slash_in_place(&mut s, "to/");

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