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.
This commit is contained in:
Hayden Stainsby 2022-08-09 23:46:21 +02:00 committed by GitHub
parent ff6fbc327d
commit 255c1f95b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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