mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
fix: remove make_mut from introduce_named_generic assist
Signed-off-by: Tarek <tareknaser360@gmail.com>
This commit is contained in:
parent
1400aec433
commit
4af3d6f598
1 changed files with 0 additions and 2 deletions
|
@ -42,8 +42,6 @@ pub(crate) fn introduce_named_generic(acc: &mut Assists, ctx: &AssistContext<'_>
|
|||
target,
|
||||
|edit| {
|
||||
let mut editor = edit.make_editor(&parent_node);
|
||||
let impl_trait_type = edit.make_mut(impl_trait_type);
|
||||
let fn_ = edit.make_mut(fn_);
|
||||
let fn_generic_param_list = fn_.get_or_create_generic_param_list();
|
||||
|
||||
let existing_names = fn_generic_param_list
|
||||
|
|
Loading…
Reference in a new issue