Amend the instruction for rustup.

The current instruction for installation via rustup are misleading.
This commit is contained in:
Jan Scheer 2021-10-21 23:04:43 +02:00 committed by GitHub
parent 56fbf5d7b2
commit 1bfedc3591
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -173,9 +173,11 @@ On Unix, running the editor from a shell or changing the `.desktop` file to set
`rust-analyzer` is available in `rustup`, but only in the nightly toolchain:
[source,bash]
---
----
$ rustup +nightly component add rust-analyzer-preview
---
----
However, in contrast to `component add clippy` or `component add rustfmt`, this does not actually place a `rust-analyzer` binary in `~/.cargo/bin`, see https://github.com/rust-lang/rustup/issues/2411[this issue].
==== Arch Linux