fix: Remove let bindings to the unit value found by clippy
The union and intersect methods on RowIDs don't return any value, so these let bindings were always getting the unit value. Then the if/else block that the bindings were returned from wasn't being assigned to anything, so removing the binding and the return of the unit value from these blocks is fine.pull/24376/head
parent
03aa338897
commit
69a3ad95b6
|
@ -441,13 +441,11 @@ impl RowGroup {
|
|||
RowIDsOption::Some(row_ids) => {
|
||||
let now = std::time::Instant::now();
|
||||
if result_row_ids.is_empty() {
|
||||
let row_ids = result_row_ids.union(&row_ids);
|
||||
result_row_ids.union(&row_ids);
|
||||
trace!(elapsed=?now.elapsed(), "unioning row IDs");
|
||||
row_ids
|
||||
} else {
|
||||
let row_ids = result_row_ids.intersect(&row_ids);
|
||||
result_row_ids.intersect(&row_ids);
|
||||
trace!(elapsed=?now.elapsed(), "intersecting row IDs");
|
||||
row_ids
|
||||
}
|
||||
|
||||
// before evaluating the next expression check if we have
|
||||
|
|
Loading…
Reference in New Issue