Skip to content

Commit

Permalink
Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1624 committed Apr 29, 2024
1 parent e08936b commit d81155e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/builder_context/filter_types_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -563,8 +563,8 @@ impl FilterTypesMapHelper {
})
.collect::<SeaResult<Vec<_>>>()?;

let a = value.get(0).unwrap().clone();
let b = value.get(1).unwrap().clone();
let a = value[0].clone();
let b = value[1].clone();

condition = condition.add(column.between(a, b));
}
Expand All @@ -580,8 +580,8 @@ impl FilterTypesMapHelper {
})
.collect::<SeaResult<Vec<_>>>()?;

let a = value.get(0).unwrap().clone();
let b = value.get(1).unwrap().clone();
let a = value[0].clone();
let b = value[1].clone();

condition = condition.add(column.not_between(a, b));
}
Expand Down

0 comments on commit d81155e

Please sign in to comment.