Skip to content

Commit fd709c0

Browse files
author
Veetaha
committed
vscode: simpify
1 parent 6441988 commit fd709c0

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

editors/code/src/inlay_hints.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,10 @@ class HintsUpdater {
101101
clearHints() {
102102
for (const file of this.sourceFiles) {
103103
file.inlaysRequest?.cancel();
104-
this.renderHints(file, []);
104+
file.renderHints([], this.client.protocol2CodeConverter)
105105
}
106106
}
107107

108-
private renderHints(file: RustSourceFile, hints: ra.InlayHint[]) {
109-
file.renderHints(hints, this.client.protocol2CodeConverter);
110-
}
111-
112108
refreshRustDocument(document: RustTextDocument) {
113109
if (!this.enabled) return;
114110

0 commit comments

Comments
 (0)