Enable clippy::search_is_some (#8748)

This PR enables the
[`clippy::search_is_some`](https://rust-lang.github.io/rust-clippy/master/index.html#/search_is_some)
rule and fixes the outstanding violations.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-03-02 21:46:30 -05:00 committed by GitHub
parent 3ab16d8012
commit 328c8a94b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 7 additions and 9 deletions

View file

@ -113,7 +113,6 @@ fn run_clippy(args: ClippyArgs) -> Result<()> {
"clippy::redundant_guards",
"clippy::redundant_locals",
"clippy::reversed_empty_ranges",
"clippy::search_is_some",
"clippy::single_range_in_vec_init",
"clippy::suspicious_to_owned",
"clippy::type_complexity",