Skip to content

Commit 3b09768

Browse files
authored
vscode: apply review nits
1 parent e86bfc0 commit 3b09768

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editors/code/src/commands/syntax_tree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class AstInspector implements vscode.HoverProvider, Disposable {
9898
}
9999

100100
private onDidCloseTextDocument(doc: vscode.TextDocument) {
101-
if (!!this.rustEditor && doc.uri.toString() === this.rustEditor.document.uri.toString()) {
101+
if (this.rustEditor && doc.uri.toString() === this.rustEditor.document.uri.toString()) {
102102
this.setRustEditor(undefined);
103103
}
104104
}

0 commit comments

Comments
 (0)