mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
fix typescript return path warning
This commit is contained in:
parent
de5e3cf745
commit
c43cfefdd8
1 changed files with 1 additions and 1 deletions
|
@ -1133,7 +1133,7 @@ export function linkToCommand(_: Ctx): Cmd {
|
||||||
export function viewMemoryLayout(ctx: CtxInit): Cmd {
|
export function viewMemoryLayout(ctx: CtxInit): Cmd {
|
||||||
return async () => {
|
return async () => {
|
||||||
const editor = vscode.window.activeTextEditor;
|
const editor = vscode.window.activeTextEditor;
|
||||||
if (!editor) return "";
|
if (!editor) return;
|
||||||
const client = ctx.client;
|
const client = ctx.client;
|
||||||
|
|
||||||
const position = editor.selection.active;
|
const position = editor.selection.active;
|
||||||
|
|
Loading…
Reference in a new issue