Fix clippy warning

This commit is contained in:
gwenn 2018-06-20 19:12:02 +02:00
parent b135c6d871
commit 2a684384fd

View File

@ -83,12 +83,9 @@ impl VTab for ArrayTab {
if constraint.operator() != vtab::IndexConstraintOp::SQLITE_INDEX_CONSTRAINT_EQ {
continue;
}
match constraint.column() {
CARRAY_COLUMN_POINTER => {
if let CARRAY_COLUMN_POINTER = constraint.column() {
ptr_idx = Some(i);
}
_ => {}
}
}
if let Some(ptr_idx) = ptr_idx {
{