Skip to content

Commit 37d4cf0

Browse files
committed
Outdated comment removed
1 parent 26691a1 commit 37d4cf0

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

editors/code/src/bootstrap.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export async function bootstrap(
1515
if (!path) {
1616
throw new Error(
1717
"rust-analyzer Language Server is not available. " +
18-
"Please, ensure its [proper installation](https://rust-analyzer.github.io/manual.html#installation).",
18+
"Please, ensure its [proper installation](https://rust-analyzer.github.io/manual.html#installation).",
1919
);
2020
}
2121

@@ -103,11 +103,11 @@ async function getServer(
103103

104104
await vscode.window.showErrorMessage(
105105
"Unfortunately we don't ship binaries for your platform yet. " +
106-
"You need to manually clone the rust-analyzer repository and " +
107-
"run `cargo xtask install --server` to build the language server from sources. " +
108-
"If you feel that your platform should be supported, please create an issue " +
109-
"about that [here](https://github.com/rust-lang/rust-analyzer/issues) and we " +
110-
"will consider it.",
106+
"You need to manually clone the rust-analyzer repository and " +
107+
"run `cargo xtask install --server` to build the language server from sources. " +
108+
"If you feel that your platform should be supported, please create an issue " +
109+
"about that [here](https://github.com/rust-lang/rust-analyzer/issues) and we " +
110+
"will consider it.",
111111
);
112112
return undefined;
113113
}
@@ -153,7 +153,6 @@ function orderFromPath(
153153
path: string,
154154
raVersionResolver: (path: string) => string | undefined,
155155
): string {
156-
// It is a semver, so we must resolve Rust Analyzer's version.
157156
const raVersion = raVersionResolver(path);
158157
const raDate = raVersion?.match(/^rust-analyzer .*\(.* (\d{4}-\d{2}-\d{2})\)$/);
159158
if (raDate?.length === 2) {

0 commit comments

Comments
 (0)