Fix comparison of Code Action edit lengths
This happened to work because we always produce a single edit but this is obviously dubious.
This commit is contained in:
parent
6d6cb25cf4
commit
d997fd8ea5
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ export class CargoWatchProvider
|
|||
const leftEditEntries = left.edit.entries();
|
||||
const rightEditEntries = right.edit.entries();
|
||||
|
||||
if (leftEditEntries.length !== leftEditEntries.length) {
|
||||
if (leftEditEntries.length !== rightEditEntries.length) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue