mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 13:43:17 +00:00
Merge pull request #166 from Manishearth/contrib
add a few words on dogfood + update_lints
This commit is contained in:
commit
84f9108808
1 changed files with 5 additions and 0 deletions
|
@ -35,6 +35,11 @@ T-middle issues can be more involved and require verifying types. The
|
||||||
lot of methods that are useful, though one of the most useful would be `expr_ty` (gives the type of
|
lot of methods that are useful, though one of the most useful would be `expr_ty` (gives the type of
|
||||||
an AST expression). `match_def_path()` in Clippy's `utils` module can also be useful.
|
an AST expression). `match_def_path()` in Clippy's `utils` module can also be useful.
|
||||||
|
|
||||||
|
Should you add a lint, try it on clippy itself using `util/dogfood.sh`. You may find that clippy
|
||||||
|
contains some questionable code itself! Also before making a pull request, please run
|
||||||
|
`util/update_lints.py`, which will update `lib.rs` and `README.md` with the lint declarations. Our
|
||||||
|
travis build actually checks for this.
|
||||||
|
|
||||||
## Contributions
|
## Contributions
|
||||||
|
|
||||||
Clippy welcomes contributions from everyone.
|
Clippy welcomes contributions from everyone.
|
||||||
|
|
Loading…
Reference in a new issue