From 5cea8a37b75d84bbc95cb66487cc768181d440d5 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Mon, 17 Feb 2020 23:33:48 +0200 Subject: Install rust-src when it is not found --- docs/user/readme.adoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs/user') diff --git a/docs/user/readme.adoc b/docs/user/readme.adoc index 57a8cbe31..cb171defd 100644 --- a/docs/user/readme.adoc +++ b/docs/user/readme.adoc @@ -20,7 +20,9 @@ In theory, one should be able to just install the server binary and have it auto We are not there yet, so some editor specific setup is required. Additionally, rust-analyzer needs sources of the standard library. -This commands adds them: +When fails to locate them, rust-analyzer attempts to install them automatically. + +To add the sources manually, run the following command: ```bash $ rustup component add rust-src -- cgit v1.2.3 From 50cf1e3d67f4f716d06f0f86a0bf7e85782e3d61 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Mon, 17 Feb 2020 23:48:47 +0200 Subject: Reword the docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Laurențiu Nicola --- docs/user/readme.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/user') diff --git a/docs/user/readme.adoc b/docs/user/readme.adoc index cb171defd..8780a2995 100644 --- a/docs/user/readme.adoc +++ b/docs/user/readme.adoc @@ -20,7 +20,7 @@ In theory, one should be able to just install the server binary and have it auto We are not there yet, so some editor specific setup is required. Additionally, rust-analyzer needs sources of the standard library. -When fails to locate them, rust-analyzer attempts to install them automatically. +If the source code is not present, rust-analyzer will attempt to install it automatically. To add the sources manually, run the following command: -- cgit v1.2.3