Fix clippy warnings on Windows (#28720)
Fixed clippy warnings on Windows.
This commit is contained in:
parent
88d7f6cc9d
commit
3e395394d2
|
@ -455,7 +455,7 @@ pub(crate) fn parse_signer_source<S: AsRef<str>>(
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
source.replace("\\", "/")
|
source.replace('\\', "/")
|
||||||
}
|
}
|
||||||
#[cfg(not(target_family = "windows"))]
|
#[cfg(not(target_family = "windows"))]
|
||||||
{
|
{
|
||||||
|
|
|
@ -455,7 +455,7 @@ pub(crate) fn parse_signer_source<S: AsRef<str>>(
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
source.replace("\\", "/")
|
source.replace('\\', "/")
|
||||||
}
|
}
|
||||||
#[cfg(not(target_family = "windows"))]
|
#[cfg(not(target_family = "windows"))]
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue