fix clippy

This commit is contained in:
Nikita Sivukhin
2025-09-30 22:43:58 +04:00
parent 9ef05adc5e
commit f4263bf472

View File

@@ -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));
}