mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
vscode: remove unnecessary code
This cancel is unnecessary since we cancel the previous inlay hints requests in `fetchHints()` method itself. This is not a hard error, we just called cancel() 2 times.
This commit is contained in:
parent
92b561b5c7
commit
95b5129a8a
1 changed files with 0 additions and 2 deletions
|
@ -134,8 +134,6 @@ class HintsUpdater implements Disposable {
|
|||
|
||||
// No text documents changed, so we may try to use the cache
|
||||
if (!file.cachedDecorations) {
|
||||
file.inlaysRequest?.cancel();
|
||||
|
||||
const hints = await this.fetchHints(file);
|
||||
if (!hints) return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue