diff options
Diffstat (limited to 'crates/ide_assists')
-rw-r--r-- | crates/ide_assists/src/handlers/replace_derive_with_manual_impl.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ide_assists/src/handlers/replace_derive_with_manual_impl.rs b/crates/ide_assists/src/handlers/replace_derive_with_manual_impl.rs index 2608b56da..4f0ef52ca 100644 --- a/crates/ide_assists/src/handlers/replace_derive_with_manual_impl.rs +++ b/crates/ide_assists/src/handlers/replace_derive_with_manual_impl.rs | |||
@@ -72,7 +72,6 @@ pub(crate) fn replace_derive_with_manual_impl( | |||
72 | items_locator::AssocItemSearch::Exclude, | 72 | items_locator::AssocItemSearch::Exclude, |
73 | Some(items_locator::DEFAULT_QUERY_SEARCH_LIMIT), | 73 | Some(items_locator::DEFAULT_QUERY_SEARCH_LIMIT), |
74 | ) | 74 | ) |
75 | .into_iter() | ||
76 | .filter_map(|item| match ModuleDef::from(item.as_module_def_id()?) { | 75 | .filter_map(|item| match ModuleDef::from(item.as_module_def_id()?) { |
77 | ModuleDef::Trait(trait_) => Some(trait_), | 76 | ModuleDef::Trait(trait_) => Some(trait_), |
78 | _ => None, | 77 | _ => None, |