vscode: more privacy for HintsUpdater

This commit is contained in:
Veetaha 2020-03-07 14:37:15 +02:00
parent 2734ffa20c
commit 61a4ea2532

View file

@ -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);