Fix clippy warnings on Windows (#28720)

Fixed clippy warnings on Windows.
This commit is contained in:
Denis K 2022-11-03 02:05:21 +05:00 committed by GitHub
parent 88d7f6cc9d
commit 3e395394d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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"))]
{ {

View File

@ -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"))]
{ {