diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8e9716c11..affa70f69 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -131,8 +131,11 @@ cargo check --all-features cargo test --all-features ``` -Clippy must be run using the MSRV, so Tokio can avoid having to `#[allow]` new -lints whose fixes would be incompatible with the current MSRV: +Ideally, you should use the same version of clippy as the one used in CI +(defined by `env.rust_clippy` in [ci.yml][ci.yml]), because newer versions +might have new lints: + +[ci.yml]: .github/workflows/ci.yml ``` -cargo +1.49.0 clippy --all --tests --all-features +cargo +1.65.0 clippy --all --tests --all-features ``` When building documentation normally, the markers that list the features