mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 04:23:25 +00:00
Amend the instruction for rustup.
The current instruction for installation via rustup are misleading.
This commit is contained in:
parent
56fbf5d7b2
commit
1bfedc3591
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue