Skip to content

Commit ab26b67

Browse files
fix: remove redundant comment
1 parent c4c0ba4 commit ab26b67

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ fn gen_method(acc: &mut Assists, ctx: &AssistContext<'_>) -> Option<()> {
146146
if !is_editable_crate(target_module.krate(ctx.db()), ctx.db()) {
147147
return None;
148148
}
149-
//Change
149+
150150
let enclosing_impl = ctx.find_node_at_offset::<ast::Impl>();
151151
let cursor_impl = enclosing_impl.filter(|impl_| {
152152
ctx.sema.to_def(impl_).map_or(false, |def| def.self_ty(ctx.sema.db).as_adt() == Some(adt))
@@ -158,7 +158,7 @@ fn gen_method(acc: &mut Assists, ctx: &AssistContext<'_>) -> Option<()> {
158158
get_adt_source(ctx, &adt, fn_name.text().as_str())?
159159
};
160160
let target = get_method_target(ctx, &impl_, &adt)?;
161-
//change
161+
162162
let function_builder = FunctionBuilder::from_method_call(
163163
ctx,
164164
&call,

0 commit comments

Comments
 (0)