mirror of
https://github.com/loot/loot-condition-interpreter.git
synced 2026-07-27 14:16:09 -07:00
Apply clippy suggestion
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ pub enum Error {
|
||||
}
|
||||
|
||||
fn escape<I: fmt::Display>(input: I) -> String {
|
||||
input.to_string().replace("\"", "\\\"")
|
||||
input.to_string().replace('"', "\\\"")
|
||||
}
|
||||
|
||||
impl<I: fmt::Debug + fmt::Display> From<Err<ParsingError<I>>> for Error {
|
||||
|
||||
Reference in New Issue
Block a user