Function slash_formatter::delete_start_file_separator
source · [−]Expand description
Delete a starting FILE_SEPARATOR
in a string except for just FILE_SEPARATOR
.
assert_eq!(
"path",
slash_formatter::delete_start_file_separator(concat!(
slash_formatter::file_separator!(),
"path"
))
);