Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
sjneph committed Aug 25, 2024
1 parent 6f79220 commit b4b0560
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utils/ftexpression.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ pub fn parse_filter(filter_orig: &str) -> ParsedExpr {
for &op in operators.iter() {
if let Some(pos) = rest.find(op) {
operator = Some(op);
value_str = &rest[pos + op.len()..].trim();
value_str = rest[pos + op.len()..].trim();
break;
}
}
Expand Down Expand Up @@ -138,7 +138,6 @@ pub fn parse_filter(filter_orig: &str) -> ParsedExpr {
}
}


/*
pub fn parse_filter(filter_orig: &str) -> ParsedExpr {
let mut filter = filter_orig.to_string();
Expand Down

0 comments on commit b4b0560

Please sign in to comment.