forked from rojo-rbx/rojo
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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user