Skip to content

Commit 80f41b8

Browse files
authored
Update suggested.md
1 parent 15a4be6 commit 80f41b8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/building/suggested.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ You can also install the hook as a step of running `./x.py setup`!
2222
`rust-analyzer` can help you check and format your code whenever you save
2323
a file. By default, `rust-analyzer` runs the `cargo check` and `rustfmt`
2424
commands, but you can override these commands to use more adapted versions
25-
of these tools when hacking on `rustc`. For example, `x.py setup` will prompt you to create a .vscode/settings.json file which will configure Visual Studio code. This will ask
26-
`rust-analyzer` to use `./x.py check` to check the sources, and the stage 0
27-
rustfmt to format them.
25+
of these tools when hacking on `rustc`. For example, `x.py setup` will prompt
26+
you to create a `.vscode/settings.json` file which will configure Visual Studio code.
27+
This will ask `rust-analyzer` to use `./x.py check` to check the sources, and the
28+
stage 0 rustfmt to format them.
2829

2930
If you have enough free disk space and you would like to be able to run `x.py` commands while
3031
rust-analyzer runs in the background, you can also add `--build-dir build-rust-analyzer` to the

0 commit comments

Comments
 (0)