mirror of
https://github.com/isar/rusqlite.git
synced 2025-10-23 17:28:55 +08:00
Fix clippy warnings
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user