mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-03 08:24:19 +01:00
fix clippy
This commit is contained in:
@@ -648,7 +648,7 @@ pub fn translate_insert(
|
||||
for index in resolver.schema.get_indices(table_name.as_str()) {
|
||||
let position = upsert_actions
|
||||
.iter()
|
||||
.position(|(target, ..)| matches!(target, ResolvedUpsertTarget::Index(x) if Arc::ptr_eq(&x, index)));
|
||||
.position(|(target, ..)| matches!(target, ResolvedUpsertTarget::Index(x) if Arc::ptr_eq(x, index)));
|
||||
constraints_to_check.push((ResolvedUpsertTarget::Index(index.clone()), position));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user