8968: docs: fix binary installation instructions r=matklad a=cschmatzler

fixes #8966 

Co-authored-by: Christoph Schmatzler <christoph@schmatzler.name>
This commit is contained in:
bors[bot] 2021-05-24 14:41:49 +00:00 committed by GitHub
commit 2d532ab150
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -146,7 +146,7 @@ On Linux to install the `rust-analyzer` binary into `~/.local/bin`, this command
[source,bash]
----
$ curl -L https://github.com/rust-analyzer/rust-analyzer/releases/latest/download/rust-analyzer-linux -o ~/.local/bin/rust-analyzer
$ curl -L https://github.com/rust-analyzer/rust-analyzer/releases/latest/download/rust-analyzer-x86_64-unknown-linux-gnu.gz | gunzip -c - > ~/.local/bin/rust-analyzer
$ chmod +x ~/.local/bin/rust-analyzer
----