From dd9974c59d130afa218038c348db1f33138f6f6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Sun, 14 Mar 2021 15:24:34 +0200 Subject: Fix `cargo xtask lint` references --- docs/dev/style.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/dev/style.md b/docs/dev/style.md index 46bd8b9b2..c4eb7bc7a 100644 --- a/docs/dev/style.md +++ b/docs/dev/style.md @@ -91,8 +91,8 @@ But many users read changelogs. 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. -There's `cargo xtask lint` command which runs a subset of low-FPR lints. -Careful tweaking of `xtask lint` is welcome. +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. **Rationale:** see [rust-lang/clippy#5537](https://github.com/rust-lang/rust-clippy/issues/5537). -- cgit v1.2.3