Skip to content

Commit 0af90fd

Browse files
committed
doc line length fixes
1 parent ac93578 commit 0af90fd

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

doc/basics.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,11 @@ cargo dev ra_setup
9393
```
9494

9595
## lintcheck
96-
`cargo lintcheck` will build and run clippy on a fixed set of crates and generate a log of the results. You can `git diff` the updated log against its previous version and see what impact your lint made on a small set of crates.
97-
If you add a new lint, please audit the resulting warnings and make sure there are no false positives and that the suggestions are valid.
96+
`cargo lintcheck` will build and run clippy on a fixed set of crates and generate a log of the results.
97+
You can `git diff` the updated log against its previous version and
98+
see what impact your lint made on a small set of crates.
99+
If you add a new lint, please audit the resulting warnings and make sure
100+
there are no false positives and that the suggestions are valid.
98101

99102
Refer to the tools [README] for more details.
100103

lintcheck/README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ is checked.
6969
is explicitly specified in the options.
7070

7171
### Fix mode
72-
You can run `./lintcheck/target/debug/lintcheck --fix` which will run Clippy with `-Zunstable-options --fix` and print a warning if Clippys suggestions fail to apply (if the resulting code does not build).
72+
You can run `./lintcheck/target/debug/lintcheck --fix` which will run Clippy with `-Zunstable-options --fix` and
73+
print a warning if Clippys suggestions fail to apply (if the resulting code does not build).
7374
This lets us spot bad suggestions or false positives automatically in some cases.
7475

75-
Please note that the target dir should be cleaned afterwards since clippy will modify the downloaded sources which can lead to unexpected results when running lintcheck again afterwards.
76+
Please note that the target dir should be cleaned afterwards since clippy will modify
77+
the downloaded sources which can lead to unexpected results when running lintcheck again afterwards.

0 commit comments

Comments
 (0)