reviews: discourage silencing clippy with allow(dead_code)

This commit is contained in:
Sylvestre Ledru
2026-05-30 11:19:01 +02:00
parent 071044606b
commit 773a88d028
+3
View File
@@ -86,6 +86,9 @@ check these before requesting a review, your PR will move much faster.
- **`OsStr`/`Path` over `str`/`String`** for paths, since paths may not be valid
UTF-8.
- **Macros sparingly**, and **comments that explain *why***, kept up to date.
- **Don't silence clippy with `#[allow(...)]`.** In particular, we don't want to
see `#[allow(dead_code)]`; fix the underlying issue (or remove the unused code)
instead of suppressing the lint.
## For contributors: getting your PR reviewed