about summary refs log tree commit diff
path: root/editors/code/src
diff options
context:
space:
mode:
authorVeetaha <gerzoh1@gmail.com>2020-03-07 14:37:15 +0200
committerVeetaha <gerzoh1@gmail.com>2020-03-07 14:37:15 +0200
commit61a4ea25326b794fe64f37fda323fc704a5f96e9 (patch)
tree6887694af05ef8ee4561ae882114a8b5d1f59498 /editors/code/src
parent2734ffa20c4c38f57bb6808d6cf87d0a8aaf1ea5 (diff)
downloadrust-61a4ea25326b794fe64f37fda323fc704a5f96e9.tar.gz
rust-61a4ea25326b794fe64f37fda323fc704a5f96e9.zip
vscode: more privacy for HintsUpdater
Diffstat (limited to 'editors/code/src')
-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 d7fabe795a1..fd7c49c8909 100644
--- a/editors/code/src/inlay_hints.ts
+++ b/editors/code/src/inlay_hints.ts
@@ -67,7 +67,7 @@ class HintsUpdater implements Disposable {
     private sourceFiles = new Map<string, RustSourceFile>(); // map Uri -> RustSourceFile
     private readonly disposables: Disposable[] = [];
 
-    private constructor(readonly ctx: Ctx) { }
+    private constructor(private readonly ctx: Ctx) { }
 
     static create(ctx: Ctx) {
         const self = new HintsUpdater(ctx);