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
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)
}