Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitryAstafyev committed May 8, 2024
1 parent 21572b8 commit cd5cf5a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ impl RegularSearchHolder {
pub fn setup(&mut self, filters: Vec<SearchFilter>) -> Result<(), SearchError> {
let invalid = filters
.iter()
.filter(|&f| f.valid())
.filter(|&f| !f.valid())
.map(|f| &f.value)
.cloned()
.collect::<Vec<String>>()
Expand Down

0 comments on commit cd5cf5a

Please sign in to comment.