diff options
author | Kirill Bulatov <[email protected]> | 2020-02-17 21:33:48 +0000 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2020-02-17 21:40:34 +0000 |
commit | 5cea8a37b75d84bbc95cb66487cc768181d440d5 (patch) | |
tree | dadf1de543d96c75d6e3a30cc6dfd0478ad818fa /docs | |
parent | 326556b09078a398e641dd221ab870ee0fe47f68 (diff) |
Install rust-src when it is not found
Diffstat (limited to 'docs')
-rw-r--r-- | docs/user/readme.adoc | 4 |
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 | |||
20 | We are not there yet, so some editor specific setup is required. | 20 | We are not there yet, so some editor specific setup is required. |
21 | 21 | ||
22 | Additionally, rust-analyzer needs sources of the standard library. | 22 | Additionally, rust-analyzer needs sources of the standard library. |
23 | This commands adds them: | 23 | When fails to locate them, rust-analyzer attempts to install them automatically. |
24 | |||
25 | To 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 |