remove edit_in_place from generate_getter_or_setter assist with edit::AstNodeEdit
This commit is contained in:
parent
5de304e2a4
commit
34eee0c30a
1 changed files with 2 additions and 3 deletions
|
|
@ -3,8 +3,7 @@ use stdx::{format_to, to_lower_snake_case};
|
|||
use syntax::{
|
||||
TextRange,
|
||||
ast::{
|
||||
self, AstNode, HasGenericParams, HasName, HasVisibility, edit_in_place::Indent,
|
||||
syntax_factory::SyntaxFactory,
|
||||
self, AstNode, HasGenericParams, HasName, HasVisibility, edit::AstNodeEdit, syntax_factory::SyntaxFactory
|
||||
},
|
||||
syntax_editor::Position,
|
||||
};
|
||||
|
|
@ -434,7 +433,7 @@ fn build_source_change(
|
|||
}
|
||||
};
|
||||
let new_fn = method.clone_for_update();
|
||||
new_fn.indent(1.into());
|
||||
let new_fn = new_fn.indent(1.into());
|
||||
new_fn.into()
|
||||
})
|
||||
.collect();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue