pub fn delete_end_file_separator_build<S: ?Sized + AsRef<str>>(s: &S) -> &str
Expand description

Delete an ending FILE_SEPARATOR_ON_WORKSTATION in a string except for just FILE_SEPARATOR_ON_WORKSTATION.

assert_eq!(
    "path",
    slash_formatter::delete_end_file_separator_build(concat!(
        "path",
        slash_formatter::file_separator_build!()
    ))
);