Fix clippy lint warnings

This commit is contained in:
Tobie Morgan Hitchcock 2022-05-10 09:22:38 +01:00
parent 17e8ea55b5
commit ca80e73285

View file

@ -13,7 +13,7 @@ pub struct Regex(String);
impl<'a> From<&'a str> for Regex {
fn from(r: &str) -> Regex {
Regex(r.replace("\\/", "/").to_string())
Regex(r.replace("\\/", "/"))
}
}