Skip to content

Commit c9a9c0d

Browse files
committed
Fix style
1 parent d8c0c6f commit c9a9c0d

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

editors/code/src/debug.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -373,16 +373,16 @@ async function recompileTestFromDebuggingSession(session: vscode.DebugSession, c
373373
cargoArgs: ["test", "--no-run", "--test", "lib"],
374374

375375
// The first element of the debug configuration args is the test path e.g. "test_bar::foo::test_a::test_b"
376-
executableArgs: sessionArgs
376+
executableArgs: sessionArgs,
377377
};
378378
const runnable: ra.Runnable = {
379379
kind: "cargo",
380380
label: "compile-test",
381-
args
381+
args,
382382
};
383383
const task: vscode.Task = await createTaskFromRunnable(runnable, ctx.config);
384-
385-
// It is not needed to call the language server, since the test path is already resolved in the
384+
385+
// It is not needed to call the language server, since the test path is already resolved in the
386386
// configuration option. We can simply call a debug configuration with the --no-run option to compile
387387
await vscode.tasks.executeTask(task);
388388
}

editors/code/src/lsp_ext.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ export const relatedTests = new lc.RequestType<lc.TextDocumentPositionParams, Te
4242
export const reloadWorkspace = new lc.RequestType0<null, void>("rust-analyzer/reloadWorkspace");
4343
export const rebuildProcMacros = new lc.RequestType0<null, void>("rust-analyzer/rebuildProcMacros");
4444

45-
4645
export const runFlycheck = new lc.NotificationType<{
4746
textDocument: lc.TextDocumentIdentifier | null;
4847
}>("rust-analyzer/runFlycheck");
@@ -302,4 +301,4 @@ export type RecursiveMemoryLayoutNode = {
302301
};
303302
export type RecursiveMemoryLayout = {
304303
nodes: RecursiveMemoryLayoutNode[];
305-
};
304+
};

0 commit comments

Comments
 (0)