From 255c1f95b7ab994b88c2a864ba5ff63b053677d8 Mon Sep 17 00:00:00 2001 From: Hayden Stainsby Date: Tue, 9 Aug 2022 23:46:21 +0200 Subject: [PATCH] doc: update clippy command in contribution guide (#4883) The contribution guide describes the Tokio code of conduct and gives a list of steps to follow when contributing in different ways. In the guide to contributing a pull request, commands are listed to be run by the contributor locally to help ensure that the PR will pass on CI. The command to run clippy isn't the same as the one run on CI, specifically the command doesn't check the tests. This commit changes the command to match the one on CI, so that tests are checked by clippy as well. --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e25a51cde86..d324fd73fa8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -146,7 +146,7 @@ When updating this, also update: --> ``` -cargo +1.49.0 clippy --all-features +cargo +1.49.0 clippy --all --tests --all-features ``` When building documentation normally, the markers that list the features