Skip to content

Commit 043ad3b

Browse files
gabrielgrantdylanmckay
authored andcommitted
Add command to install the nightly toolchain
Existing command to add component fails if nightly isn't already installed
1 parent 4cff3e2 commit 043ad3b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/002-installing-the-compiler.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ is sufficient to install the official Rust `nightly` compiler, as well as the `r
2020
Then install the `nightly` and `rust-src` components by running this in a terminal:
2121

2222
```
23+
$ rustup toolchain install nightly
24+
...
2325
$ rustup component add rust-src --toolchain nightly
2426
```
2527

0 commit comments

Comments
 (0)