Skip to content

Commit 353f7ce

Browse files
committed
Mention rust-src
1 parent 8d8d542 commit 353f7ce

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/user/readme.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/user/readme.adoc
1919
In theory, one should be able to just install the server binary and have it automatically work with any editor.
2020
We are not there yet, so some editor specific setup is required.
2121

22+
Additionally, rust-analyzer needs sources of the standard library.
23+
This commands adds them:
24+
25+
```bash
26+
$ rustup component add rust-src
27+
```
28+
2229
=== VS Code
2330

2431
This the best supported editor at the moment.

0 commit comments

Comments
 (0)