aboutsummaryrefslogtreecommitdiff
path: root/editors/code
diff options
context:
space:
mode:
authorvsrs <[email protected]>2021-03-11 14:39:41 +0000
committervsrs <[email protected]>2021-03-11 14:39:41 +0000
commitdaa2637486755f012c738d3516ff7cb3d3dcd234 (patch)
tree7ee45f3bc3d89a90a709ae4076c0eec74717b262 /editors/code
parentf234b80520ed63b168475be38086d053567f4c1e (diff)
Apply review suggestions
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/src/lsp_ext.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/editors/code/src/lsp_ext.ts b/editors/code/src/lsp_ext.ts
index f0e4be279..52de29e04 100644
--- a/editors/code/src/lsp_ext.ts
+++ b/editors/code/src/lsp_ext.ts
@@ -72,14 +72,11 @@ export interface Runnable {
72} 72}
73export const runnables = new lc.RequestType<RunnablesParams, Runnable[], void>("experimental/runnables"); 73export const runnables = new lc.RequestType<RunnablesParams, Runnable[], void>("experimental/runnables");
74 74
75export interface RelatedTestsParams extends lc.TextDocumentPositionParams {
76}
77
78export interface TestInfo { 75export interface TestInfo {
79 runnable: Runnable; 76 runnable: Runnable;
80} 77}
81 78
82export const relatedTests = new lc.RequestType<RelatedTestsParams, TestInfo[], void>("rust-analyzer/relatedTests"); 79export const relatedTests = new lc.RequestType<lc.TextDocumentPositionParams, TestInfo[], void>("rust-analyzer/relatedTests");
83 80
84export type InlayHint = InlayHint.TypeHint | InlayHint.ParamHint | InlayHint.ChainingHint; 81export type InlayHint = InlayHint.TypeHint | InlayHint.ParamHint | InlayHint.ChainingHint;
85 82