From d96c489120551d36f5bdb362ce313052350821f7 Mon Sep 17 00:00:00 2001 From: Laurențiu Nicola Date: Fri, 30 Dec 2022 16:10:17 +0200 Subject: Rephrase clippy policy --- docs/dev/style.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/dev') diff --git a/docs/dev/style.md b/docs/dev/style.md index a80eebd6329..d2a03fba40d 100644 --- a/docs/dev/style.md +++ b/docs/dev/style.md @@ -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. -- cgit 1.4.1-3-g733a5