Function slash_formatter::delete_start_backslash
source · pub fn delete_start_backslash<S: ?Sized + AsRef<str>>(s: &S) -> &str
Expand description
Delete a starting backslash in a string except for ‘\\’.
assert_eq!("path", slash_formatter::delete_start_backslash("\\path"));