mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 06:35:27 +00:00
vscode: apply review nits
This commit is contained in:
parent
e86bfc0995
commit
3b09768ebc
@ -98,7 +98,7 @@ class AstInspector implements vscode.HoverProvider, Disposable {
|
||||
}
|
||||
|
||||
private onDidCloseTextDocument(doc: vscode.TextDocument) {
|
||||
if (!!this.rustEditor && doc.uri.toString() === this.rustEditor.document.uri.toString()) {
|
||||
if (this.rustEditor && doc.uri.toString() === this.rustEditor.document.uri.toString()) {
|
||||
this.setRustEditor(undefined);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user