aboutsummaryrefslogtreecommitdiff
path: root/docs/user
diff options
context:
space:
mode:
authorKirill Bulatov <[email protected]>2020-02-17 21:33:48 +0000
committerKirill Bulatov <[email protected]>2020-02-17 21:40:34 +0000
commit5cea8a37b75d84bbc95cb66487cc768181d440d5 (patch)
treedadf1de543d96c75d6e3a30cc6dfd0478ad818fa /docs/user
parent326556b09078a398e641dd221ab870ee0fe47f68 (diff)
Install rust-src when it is not found
Diffstat (limited to 'docs/user')
-rw-r--r--docs/user/readme.adoc4
1 files changed, 3 insertions, 1 deletions
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
20We are not there yet, so some editor specific setup is required. 20We are not there yet, so some editor specific setup is required.
21 21
22Additionally, rust-analyzer needs sources of the standard library. 22Additionally, rust-analyzer needs sources of the standard library.
23This commands adds them: 23When fails to locate them, rust-analyzer attempts to install them automatically.
24
25To add the sources manually, run the following command:
24 26
25```bash 27```bash
26$ rustup component add rust-src 28$ rustup component add rust-src