Skip to content

Commit

Permalink
fix clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
conorbros committed Sep 22, 2023
1 parent 0200717 commit b50c1cf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions shotover/src/transforms/filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,16 @@ impl Transform for QueryTypeFilter {
.filter_map(|(i, m)| match self.filter {
Filter::AllowList(ref allow_list) => {
if allow_list.contains(&m.get_query_type()) {
return None;
None
} else {
return Some((i, m));
Some((i, m))
}
}
Filter::DenyList(ref deny_list) => {
if deny_list.contains(&m.get_query_type()) {
return Some((i, m));
Some((i, m))
} else {
return None;
None
}
}
})
Expand Down

0 comments on commit b50c1cf

Please sign in to comment.