]> git.lizzy.rs Git - rust.git/commitdiff
Rephrase clippy policy
authorLaurențiu Nicola <lnicola@dend.ro>
Fri, 30 Dec 2022 14:10:17 +0000 (16:10 +0200)
committerLaurențiu Nicola <lnicola@dend.ro>
Fri, 30 Dec 2022 14:10:17 +0000 (16:10 +0200)
docs/dev/style.md

index a80eebd632961a6ef468658dce53f755fce95c07..d2a03fba40d42002c0a80c48d2ae2d195ff5378a 100644 (file)
@@ -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.