mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Another attempt to add multiple edits
This commit is contained in:
parent
01422cc31d
commit
73dc8b6f06
8 changed files with 97 additions and 28 deletions
|
@ -34,8 +34,8 @@ function showReferences(ctx: Ctx): Cmd {
|
|||
}
|
||||
|
||||
function applySourceChange(ctx: Ctx): Cmd {
|
||||
return async (change: sourceChange.SourceChange) => {
|
||||
sourceChange.applySourceChange(ctx, change);
|
||||
return async (change: sourceChange.SourceChange, alternativeChanges: sourceChange.SourceChange[] | undefined) => {
|
||||
sourceChange.applySourceChange(ctx, change, alternativeChanges);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue