Skip to content

Commit

Permalink
doc: update clippy command in contribution guide (#4883)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
hds committed Aug 9, 2022
1 parent ff6fbc3 commit 255c1f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Expand Up @@ -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
Expand Down

0 comments on commit 255c1f9

Please sign in to comment.