Function slash_formatter::delete_start_file_separator_build [−][src]
pub fn delete_start_file_separator_build<S: ?Sized + AsRef<str>>(s: &S) -> &str
Delete a starting FILE_SEPARATOR_ON_WORKSTATION
in a string except for just FILE_SEPARATOR_ON_WORKSTATION
.
extern crate slash_formatter; assert_eq!( "path", slash_formatter::delete_start_file_separator_build(concat!( slash_formatter::file_separator_build!(), "path" )) );