What it does
Replace .filter() with .is_some() with .is_some_and().
Advantage
Same as manual_is_variant_add, maybe this check should be part of the same lint.
Drawbacks
No response
Example
foo.filter(|x| condition(x)).is_some()
Could be written as:
foo.is_some_and(|x| condition(x))
Comparison with existing lints
No response
Additional Context
No response