Skip to content

Commit 3a4cc9f

Browse files
committed
Address review comments
1 parent 17903f6 commit 3a4cc9f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Diff for: doc/basics.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ this toolchain, you can just use the `setup-toolchain.sh` script or use
4848
sh setup-toolchain.sh
4949
# OR
5050
cargo install rustup-toolchain-install-master
51+
# For better IDE integration also add `-c rustfmt -c rust-src` (optional)
5152
rustup-toolchain-install-master -f -n master -c rustc-dev -c llvm-tools
5253
rustup override set master
5354
```
@@ -62,8 +63,8 @@ cargo build # builds Clippy
6263
cargo test # tests Clippy
6364
```
6465

65-
Since Clippys test suite is pretty big, there are some commands that only run a
66-
subset of Clippys tests:
66+
Since Clippy's test suite is pretty big, there are some commands that only run a
67+
subset of Clippy's tests:
6768

6869
```bash
6970
# only run UI tests
@@ -74,7 +75,7 @@ TESTNAME="test_" cargo uitest
7475
cargo test --test dogfood
7576
```
7677

77-
If the output of a UI test differs from the expected output, you can update the
78+
If the output of a [UI test] differs from the expected output, you can update the
7879
reference file with:
7980

8081
```bash
@@ -87,6 +88,8 @@ or if you modify a test file to add a test case.
8788
_Note:_ This command may update more files than you intended. In that case only
8889
commit the files you wanted to update.
8990

91+
[UI test]: https://rustc-dev-guide.rust-lang.org/tests/adding.html#guide-to-the-ui-tests
92+
9093
## `cargo dev`
9194

9295
Clippy has some dev tools to make working on Clippy more convenient. These tools

0 commit comments

Comments
 (0)