Skip to content

Commit e26ba72

Browse files
committed
Update replace_derive_with_manual_impl.rs
1 parent a2e5fc6 commit e26ba72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ide_assists/src/handlers/replace_derive_with_manual_impl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ fn impl_def_from_trait(
171171
if let ast::AssocItem::Fn(func) = &first_assoc_item {
172172
match trait_path.segment().unwrap().name_ref().unwrap().text().as_str() {
173173
"Debug" => gen_debug_impl(adt, func, annotated_name),
174-
_ => {} // => If we don't know about the trait, the function body is left as `todo!`.
174+
_ => {}
175175
};
176176
}
177177
Some((impl_def, first_assoc_item))

0 commit comments

Comments
 (0)