Outdated comment removed

This commit is contained in:
huntc 2024-07-30 19:24:15 +10:00
parent 26691a1165
commit 37d4cf0cc6

View file

@ -15,7 +15,7 @@ export async function bootstrap(
if (!path) {
throw new Error(
"rust-analyzer Language Server is not available. " +
"Please, ensure its [proper installation](https://rust-analyzer.github.io/manual.html#installation).",
"Please, ensure its [proper installation](https://rust-analyzer.github.io/manual.html#installation).",
);
}
@ -103,11 +103,11 @@ async function getServer(
await vscode.window.showErrorMessage(
"Unfortunately we don't ship binaries for your platform yet. " +
"You need to manually clone the rust-analyzer repository and " +
"run `cargo xtask install --server` to build the language server from sources. " +
"If you feel that your platform should be supported, please create an issue " +
"about that [here](https://github.com/rust-lang/rust-analyzer/issues) and we " +
"will consider it.",
"You need to manually clone the rust-analyzer repository and " +
"run `cargo xtask install --server` to build the language server from sources. " +
"If you feel that your platform should be supported, please create an issue " +
"about that [here](https://github.com/rust-lang/rust-analyzer/issues) and we " +
"will consider it.",
);
return undefined;
}
@ -153,7 +153,6 @@ function orderFromPath(
path: string,
raVersionResolver: (path: string) => string | undefined,
): string {
// It is a semver, so we must resolve Rust Analyzer's version.
const raVersion = raVersionResolver(path);
const raDate = raVersion?.match(/^rust-analyzer .*\(.* (\d{4}-\d{2}-\d{2})\)$/);
if (raDate?.length === 2) {