Skip to content

Commit ed8c58a

Browse files
committed
Remove commented out conflicts
1 parent d091991 commit ed8c58a

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

crates/ide-assists/src/handlers/replace_derive_with_manual_impl.rs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -199,24 +199,8 @@ fn impl_def_from_trait(
199199
node
200200
};
201201

202-
// <<<<<<< HEAD
203-
// let trait_items = trait_items
204-
// .into_iter()
205-
// .map(|it| {
206-
// if sema.hir_file_for(it.syntax()).is_macro() {
207-
// if let Some(it) = ast::AssocItem::cast(insert_ws_into(it.syntax().clone())) {
208-
// return it;
209-
// }
210-
// }
211-
// it.clone_for_update()
212-
// })
213-
// .collect();
214-
// let first_assoc_item =
215-
// add_trait_assoc_items_to_impl(sema, trait_items, trait_, &impl_def, target_scope);
216-
// =======
217202
let first_assoc_item =
218203
add_trait_assoc_items_to_impl(sema, &trait_items, trait_, &impl_def, target_scope);
219-
// >>>>>>> fix(assist): derive source scope from syntax node to be transformed
220204

221205
// Generate a default `impl` function body for the derived trait.
222206
if let ast::AssocItem::Fn(ref func) = first_assoc_item {

0 commit comments

Comments
 (0)