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 71d5331e280d..c76c517dccad 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 @@ -171,7 +171,7 @@ fn impl_def_from_trait( if let ast::AssocItem::Fn(func) = &first_assoc_item { match trait_path.segment().unwrap().name_ref().unwrap().text().as_str() { "Debug" => gen_debug_impl(adt, func, annotated_name), - _ => {} // => If we don't know about the trait, the function body is left as `todo!`. + _ => {} }; } Some((impl_def, first_assoc_item))