Skip to content

Commit fd3565c

Browse files
authored
Merge pull request #2757 from rust-lang/tshepang-patch-2
suggested.md: improve a bit
2 parents 8de2a11 + 0230619 commit fd3565c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/building/suggested.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,14 +277,14 @@ This often helps reviewing.
277277
## Configuring `rustup` to use nightly
278278

279279
Some parts of the bootstrap process uses pinned, nightly versions of tools like rustfmt.
280-
To make things like `cargo fmt` work correctly in your repo, run
280+
To make things like `cargo fmt` work correctly in your repo,
281+
[install a nightly toolchain] with rustup, then run this command:
281282

282283
```console
283284
cd <path to rustc repo>
284285
rustup override set nightly
285286
```
286287

287-
After [installing a nightly toolchain] with `rustup`.
288288
Don't forget to do this for all directories you have [setup a worktree for].
289289
You may need to use the
290290
pinned nightly version from `src/stage0`, but often the normal `nightly` channel will work.
@@ -297,7 +297,7 @@ toolchain for your bootstrapped compiler
297297
You still have to use `x` to work on the compiler or standard library, this just
298298
lets you use `cargo fmt`.
299299

300-
[installing a nightly toolchain]: https://rust-lang.github.io/rustup/concepts/channels.html?highlight=nightl#working-with-nightly-rust
300+
[install a nightly toolchain]: https://rust-lang.github.io/rustup/concepts/channels.html?highlight=nightl#working-with-nightly-rust
301301
[setup a worktree for]: ./suggested.md#working-on-multiple-branches-at-the-same-time
302302
[the section on vscode]: suggested.md#configuring-rust-analyzer-for-rustc
303303
[the section on rustup]: how-to-build-and-run.md?highlight=rustup#creating-a-rustup-toolchain

0 commit comments

Comments
 (0)