Fix clippy lints for Rust 1.72

This commit is contained in:
Héctor Ramón Jiménez 2023-08-26 01:34:42 +02:00
parent e0eb19d4cd
commit 8ed06dc356
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
3 changed files with 3 additions and 2 deletions

View file

@ -735,7 +735,7 @@ where
options
.into_iter()
.zip(option_matchers.into_iter())
.zip(option_matchers)
// Make sure each part of the query is found in the option
.filter_map(move |(option, matcher)| {
if query.iter().all(|part| matcher.as_ref().contains(part)) {