mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
refactor(lsp): fewer clones (#17551)
This commit is contained in:
parent
21065797f6
commit
7f38f30a5c
8 changed files with 22 additions and 31 deletions
|
@ -1528,7 +1528,7 @@ impl Inner {
|
|||
.extend(refactor_info.to_code_actions(&specifier, ¶ms.range));
|
||||
}
|
||||
all_actions.extend(
|
||||
refactor::prune_invalid_actions(&refactor_actions, 5)
|
||||
refactor::prune_invalid_actions(refactor_actions, 5)
|
||||
.into_iter()
|
||||
.map(CodeActionOrCommand::CodeAction),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue