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 a55b2f860f6..46cd3d77784 100644 --- a/editors/code/src/cargo.ts +++ b/editors/code/src/cargo.ts @@ -126,8 +126,8 @@ export class Cargo { } } -// Mirrors `ra_env::get_path_for_executable` implementation -function getCargoPathOrFail(): string { +// Mirrors `ra_toolchain::cargo()` implementation +export function getCargoPathOrFail(): string { const envVar = process.env.CARGO; const executableName = "cargo"; |
