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

Add an ending FILE_SEPARATOR into a string.

assert_eq!(
    concat!("path", slash_formatter::file_separator!()),
    slash_formatter::add_end_file_separator("path")
);