Fix remaining clippy lints (#687)

The eighth (and final) in a series of PRs that aim to get CI passing
This commit is contained in:
Kenneth Loeffler 2023-06-30 11:06:43 -07:00 • committed by GitHub
parent 8646b2dfce
commit 67674d53a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 27 additions and 13 deletions

View file

@ -15,7 +15,7 @@ where
.as_os_str()
.to_str()
.expect("Invalid Unicode in file path, cannot serialize");
let replaced = as_str.replace("\\", "/");
let replaced = as_str.replace('\\', "/");
serializer.serialize_str(&replaced)
}