mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-27 20:35:09 +00:00
vscode: more privacy for HintsUpdater
This commit is contained in:
parent
2734ffa20c
commit
61a4ea2532
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ class HintsUpdater implements Disposable {
|
||||||
private sourceFiles = new Map<string, RustSourceFile>(); // map Uri -> RustSourceFile
|
private sourceFiles = new Map<string, RustSourceFile>(); // map Uri -> RustSourceFile
|
||||||
private readonly disposables: Disposable[] = [];
|
private readonly disposables: Disposable[] = [];
|
||||||
|
|
||||||
private constructor(readonly ctx: Ctx) { }
|
private constructor(private readonly ctx: Ctx) { }
|
||||||
|
|
||||||
static create(ctx: Ctx) {
|
static create(ctx: Ctx) {
|
||||||
const self = new HintsUpdater(ctx);
|
const self = new HintsUpdater(ctx);
|
||||||
|
|
Loading…
Reference in a new issue