Fix clippy warnings

This commit is contained in:
gwenn
2021-12-18 08:42:04 +01:00
parent 456c847bd6
commit 0ce15c546a
2 changed files with 2 additions and 2 deletions

View File

@@ -730,7 +730,7 @@ impl InnerConnection {
pub fn escape_double_quote(identifier: &str) -> Cow<'_, str> {
if identifier.contains('"') {
// escape quote by doubling them
Owned(identifier.replace("\"", "\"\""))
Owned(identifier.replace('"', "\"\""))
} else {
Borrowed(identifier)
}