mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-26 11:31:37 +08:00
Fix clippy warning
This commit is contained in:
parent
b135c6d871
commit
2a684384fd
@ -83,11 +83,8 @@ impl VTab for ArrayTab {
|
||||
if constraint.operator() != vtab::IndexConstraintOp::SQLITE_INDEX_CONSTRAINT_EQ {
|
||||
continue;
|
||||
}
|
||||
match constraint.column() {
|
||||
CARRAY_COLUMN_POINTER => {
|
||||
ptr_idx = Some(i);
|
||||
}
|
||||
_ => {}
|
||||
if let CARRAY_COLUMN_POINTER = constraint.column() {
|
||||
ptr_idx = Some(i);
|
||||
}
|
||||
}
|
||||
if let Some(ptr_idx) = ptr_idx {
|
||||
|
Loading…
Reference in New Issue
Block a user