mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-14 17:07:26 +00:00
Rephrase clippy policy
This commit is contained in:
parent
3aae785693
commit
d96c489120
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ Including a description and GIF suitable for the changelog means less work for t
|
|||
|
||||
We don't enforce Clippy.
|
||||
A number of default lints have high false positive rate.
|
||||
Selectively patching false-positives with `allow(clippy)` is considered worse than not using Clippy at all.
|
||||
Selectively patching false-positives with `allow(clippy)` is probably worse than entirely disabling a problematic lint.
|
||||
There's a `cargo lint` command which runs a subset of low-FPR lints.
|
||||
Careful tweaking of `lint` is welcome.
|
||||
Of course, applying Clippy suggestions is welcome as long as they indeed improve the code.
|
||||
|
|
Loading…
Reference in a new issue