pub fn delete_start_file_separator_in_place(s: &mut String)
Expand description
Delete a starting FILE_SEPARATOR
in a string except for just FILE_SEPARATOR
.
let mut s =
String::from(concat!(slash_formatter::file_separator!(), "path"));
slash_formatter::delete_start_file_separator_in_place(&mut s);
assert_eq!("path", s);