mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-27 07:03:45 +00:00
vscode: more privacy for HintsUpdater
This commit is contained in:
parent
2734ffa20c
commit
61a4ea2532
@ -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 New Issue
Block a user