mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Outdated comment removed
This commit is contained in:
parent
26691a1165
commit
37d4cf0cc6
@ -153,7 +153,6 @@ function orderFromPath(
|
|||||||
path: string,
|
path: string,
|
||||||
raVersionResolver: (path: string) => string | undefined,
|
raVersionResolver: (path: string) => string | undefined,
|
||||||
): string {
|
): string {
|
||||||
// It is a semver, so we must resolve Rust Analyzer's version.
|
|
||||||
const raVersion = raVersionResolver(path);
|
const raVersion = raVersionResolver(path);
|
||||||
const raDate = raVersion?.match(/^rust-analyzer .*\(.* (\d{4}-\d{2}-\d{2})\)$/);
|
const raDate = raVersion?.match(/^rust-analyzer .*\(.* (\d{4}-\d{2}-\d{2})\)$/);
|
||||||
if (raDate?.length === 2) {
|
if (raDate?.length === 2) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user