aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/inlay_hints.ts
diff options
context:
space:
mode:
authorVeetaha <[email protected]>2020-03-07 12:37:15 +0000
committerVeetaha <[email protected]>2020-03-07 12:37:15 +0000
commit61a4ea25326b794fe64f37fda323fc704a5f96e9 (patch)
tree6887694af05ef8ee4561ae882114a8b5d1f59498 /editors/code/src/inlay_hints.ts
parent2734ffa20c4c38f57bb6808d6cf87d0a8aaf1ea5 (diff)
vscode: more privacy for HintsUpdater
Diffstat (limited to 'editors/code/src/inlay_hints.ts')
-rw-r--r--editors/code/src/inlay_hints.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/inlay_hints.ts b/editors/code/src/inlay_hints.ts
index d7fabe795..fd7c49c89 100644
--- a/editors/code/src/inlay_hints.ts
+++ b/editors/code/src/inlay_hints.ts
@@ -67,7 +67,7 @@ class HintsUpdater implements Disposable {
67 private sourceFiles = new Map<string, RustSourceFile>(); // map Uri -> RustSourceFile 67 private sourceFiles = new Map<string, RustSourceFile>(); // map Uri -> RustSourceFile
68 private readonly disposables: Disposable[] = []; 68 private readonly disposables: Disposable[] = [];
69 69
70 private constructor(readonly ctx: Ctx) { } 70 private constructor(private readonly ctx: Ctx) { }
71 71
72 static create(ctx: Ctx) { 72 static create(ctx: Ctx) {
73 const self = new HintsUpdater(ctx); 73 const self = new HintsUpdater(ctx);