diff options
| author | Michael Goulet <michael@errs.io> | 2024-09-24 10:11:23 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-09-24 10:12:05 -0400 |
| commit | f8969853ebcf591b20d38ca3ff3b72537be8f581 (patch) | |
| tree | 449c9318e1e30b63c9d1d709eb09055d1f904d13 /clippy_lints/src/methods | |
| parent | 249210e8d86a4de347def1be559dfa79d346cb9f (diff) | |
Fix tools
Diffstat (limited to 'clippy_lints/src/methods')
| -rw-r--r-- | clippy_lints/src/methods/or_fun_call.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clippy_lints/src/methods/or_fun_call.rs b/clippy_lints/src/methods/or_fun_call.rs index e4326cb958e..af71799f0a7 100644 --- a/clippy_lints/src/methods/or_fun_call.rs +++ b/clippy_lints/src/methods/or_fun_call.rs @@ -78,7 +78,6 @@ pub(super) fn check<'tcx>( cx.tcx .inherent_impls(adt_def.did()) .into_iter() - .flatten() .flat_map(|impl_id| cx.tcx.associated_items(impl_id).filter_by_name_unhygienic(sugg)) .find_map(|assoc| { if assoc.fn_has_self_parameter |
