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') 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