Fix clippy lint warnings
This commit is contained in:
parent
17e8ea55b5
commit
ca80e73285
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ pub struct Regex(String);
|
||||||
|
|
||||||
impl<'a> From<&'a str> for Regex {
|
impl<'a> From<&'a str> for Regex {
|
||||||
fn from(r: &str) -> Regex {
|
fn from(r: &str) -> Regex {
|
||||||
Regex(r.replace("\\/", "/").to_string())
|
Regex(r.replace("\\/", "/"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue