diff options
Diffstat (limited to 'editors/code/src/cargo.ts')
-rw-r--r-- | editors/code/src/cargo.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/cargo.ts b/editors/code/src/cargo.ts index a55b2f860..46cd3d777 100644 --- a/editors/code/src/cargo.ts +++ b/editors/code/src/cargo.ts | |||
@@ -126,8 +126,8 @@ export class Cargo { | |||
126 | } | 126 | } |
127 | } | 127 | } |
128 | 128 | ||
129 | // Mirrors `ra_env::get_path_for_executable` implementation | 129 | // Mirrors `ra_toolchain::cargo()` implementation |
130 | function getCargoPathOrFail(): string { | 130 | export function getCargoPathOrFail(): string { |
131 | const envVar = process.env.CARGO; | 131 | const envVar = process.env.CARGO; |
132 | const executableName = "cargo"; | 132 | const executableName = "cargo"; |
133 | 133 | ||