mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 12:33:33 +00:00
Merge #10608
10608: Amend the instruction for rustup. r=lnicola a=jhscheer The current instruction for installation via rustup are misleading. Co-authored-by: Jan Scheer <jhscheer@users.noreply.github.com>
This commit is contained in:
commit
dc5afb1573
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