From 1bfedc35917132ca29b93435f71d2e4502d9c00b Mon Sep 17 00:00:00 2001 From: Jan Scheer Date: Thu, 21 Oct 2021 23:04:43 +0200 Subject: [PATCH] Amend the instruction for rustup. The current instruction for installation via rustup are misleading. --- docs/user/manual.adoc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc index 0afca215ec..3bb9c8d8be 100644 --- a/docs/user/manual.adoc +++ b/docs/user/manual.adoc @@ -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