Rephrase clippy policy

This commit is contained in:
Laurențiu Nicola 2022-12-30 16:10:17 +02:00
parent 3aae785693
commit d96c489120

View file

@ -101,7 +101,7 @@ Including a description and GIF suitable for the changelog means less work for t
We don't enforce Clippy. We don't enforce Clippy.
A number of default lints have high false positive rate. 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. There's a `cargo lint` command which runs a subset of low-FPR lints.
Careful tweaking of `lint` is welcome. Careful tweaking of `lint` is welcome.
Of course, applying Clippy suggestions is welcome as long as they indeed improve the code. Of course, applying Clippy suggestions is welcome as long as they indeed improve the code.