diff --git a/editors/code/src/inlay_hints.ts b/editors/code/src/inlay_hints.ts index bbe8f67ef5..ac07b2ea03 100644 --- a/editors/code/src/inlay_hints.ts +++ b/editors/code/src/inlay_hints.ts @@ -101,14 +101,10 @@ class HintsUpdater { clearHints() { for (const file of this.sourceFiles) { file.inlaysRequest?.cancel(); - this.renderHints(file, []); + file.renderHints([], this.client.protocol2CodeConverter) } } - private renderHints(file: RustSourceFile, hints: ra.InlayHint[]) { - file.renderHints(hints, this.client.protocol2CodeConverter); - } - refreshRustDocument(document: RustTextDocument) { if (!this.enabled) return;