Fix clippy 1.60 warnings
@@ -454,7 +454,7 @@ fn exit_code(hurl_results: Vec<HurlResult>) -> i32 {
for hurl_result in hurl_results {
let errors = hurl_result.clone().errors();
if errors.is_empty() {
- } else if errors.iter().filter(|e| !e.assert).cloned().count() == 0 {
+ } else if errors.iter().filter(|e| !e.assert).count() == 0 {
count_errors_assert += 1;
} else {
count_errors_runner += 1;
