rust: Update rust-analyzer repo address (#6986)

I am so sorry that I closed the
https://github.com/zed-industries/zed/pull/6980 misoperationally. Here
is a new pr.
This commit is contained in:
bestgopher 2024-01-29 22:55:31 +08:00 committed by GitHub
parent a827d0dac6
commit d2968866b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,8 +32,7 @@ impl LspAdapter for RustLspAdapter {
delegate: &dyn LspAdapterDelegate,
) -> Result<Box<dyn 'static + Send + Any>> {
let release =
latest_github_release("rust-analyzer/rust-analyzer", false, delegate.http_client())
.await?;
latest_github_release("rust-lang/rust-analyzer", false, delegate.http_client()).await?;
let asset_name = format!("rust-analyzer-{}-apple-darwin.gz", consts::ARCH);
let asset = release
.assets