diff options
author | vsrs <[email protected]> | 2021-03-11 14:39:41 +0000 |
---|---|---|
committer | vsrs <[email protected]> | 2021-03-11 14:39:41 +0000 |
commit | daa2637486755f012c738d3516ff7cb3d3dcd234 (patch) | |
tree | 7ee45f3bc3d89a90a709ae4076c0eec74717b262 /editors | |
parent | f234b80520ed63b168475be38086d053567f4c1e (diff) |
Apply review suggestions
Diffstat (limited to 'editors')
-rw-r--r-- | editors/code/src/lsp_ext.ts | 5 |
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 | } |
73 | export const runnables = new lc.RequestType<RunnablesParams, Runnable[], void>("experimental/runnables"); | 73 | export const runnables = new lc.RequestType<RunnablesParams, Runnable[], void>("experimental/runnables"); |
74 | 74 | ||
75 | export interface RelatedTestsParams extends lc.TextDocumentPositionParams { | ||
76 | } | ||
77 | |||
78 | export interface TestInfo { | 75 | export interface TestInfo { |
79 | runnable: Runnable; | 76 | runnable: Runnable; |
80 | } | 77 | } |
81 | 78 | ||
82 | export const relatedTests = new lc.RequestType<RelatedTestsParams, TestInfo[], void>("rust-analyzer/relatedTests"); | 79 | export const relatedTests = new lc.RequestType<lc.TextDocumentPositionParams, TestInfo[], void>("rust-analyzer/relatedTests"); |
83 | 80 | ||
84 | export type InlayHint = InlayHint.TypeHint | InlayHint.ParamHint | InlayHint.ChainingHint; | 81 | export type InlayHint = InlayHint.TypeHint | InlayHint.ParamHint | InlayHint.ChainingHint; |
85 | 82 | ||