pub fn add_end_backslash<S: ?Sized + AsRef<str>>(s: &S) -> Cow<'_, str>
Expand description

Add an ending backslash into a string.

assert_eq!("path\\", slash_formatter::add_end_backslash("path"));