Function slash_formatter::add_end_file_separator_build [−][src]
pub fn add_end_file_separator_build<S: ?Sized + AsRef<str>>(
s: &S
) -> Cow<'_, str>
Add an ending FILE_SEPARATOR_ON_WORKSTATION
into a string.
extern crate slash_formatter; assert_eq!( concat!("path", slash_formatter::file_separator_build!()), slash_formatter::add_end_file_separator_build("path") );