Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'editors/code/src/lsp_ext.ts')
-rw-r--r--editors/code/src/lsp_ext.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/editors/code/src/lsp_ext.ts b/editors/code/src/lsp_ext.ts
index f066a1c654..30de5035d6 100644
--- a/editors/code/src/lsp_ext.ts
+++ b/editors/code/src/lsp_ext.ts
@@ -70,9 +70,9 @@ export const viewItemTree = new lc.RequestType<ViewItemTreeParams, string, void>
export type AnalyzerStatusParams = { textDocument?: lc.TextDocumentIdentifier };
-export interface FetchDependencyGraphParams {}
+export interface FetchDependencyListParams {}
-export interface FetchDependencyGraphResult {
+export interface FetchDependencyListResult {
crates: {
name: string;
version: string;
@@ -80,11 +80,11 @@ export interface FetchDependencyGraphResult {
}[];
}
-export const fetchDependencyGraph = new lc.RequestType<
- FetchDependencyGraphParams,
- FetchDependencyGraphResult,
+export const fetchDependencyList = new lc.RequestType<
+ FetchDependencyListParams,
+ FetchDependencyListResult,
void
->("rust-analyzer/fetchDependencyGraph");
+>("rust-analyzer/fetchDependencyList");
export interface FetchDependencyGraphParams {}