diff options
author | Veetaha <[email protected]> | 2020-03-31 17:06:07 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-31 17:06:07 +0100 |
commit | 3b09768ebcd7ea6523c58c92e32198ae5b18e11c (patch) | |
tree | 0872d26214871960fa22d98e4e655a83806f2ef0 /editors/code | |
parent | e86bfc0995a0c52eeed2703d33a9089032b68c77 (diff) |
vscode: apply review nits
Diffstat (limited to 'editors/code')
-rw-r--r-- | editors/code/src/commands/syntax_tree.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/commands/syntax_tree.ts b/editors/code/src/commands/syntax_tree.ts index eba511193..91d97f9c4 100644 --- a/editors/code/src/commands/syntax_tree.ts +++ b/editors/code/src/commands/syntax_tree.ts | |||
@@ -98,7 +98,7 @@ class AstInspector implements vscode.HoverProvider, Disposable { | |||
98 | } | 98 | } |
99 | 99 | ||
100 | private onDidCloseTextDocument(doc: vscode.TextDocument) { | 100 | 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()) { |
102 | this.setRustEditor(undefined); | 102 | this.setRustEditor(undefined); |
103 | } | 103 | } |
104 | } | 104 | } |