You've already forked uutils.github.io
mirror of
https://github.com/uutils/uutils.github.io.git
synced 2026-06-10 16:12:28 -07:00
reviews: discourage silencing clippy with allow(dead_code)
This commit is contained in:
@@ -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
|
- **`OsStr`/`Path` over `str`/`String`** for paths, since paths may not be valid
|
||||||
UTF-8.
|
UTF-8.
|
||||||
- **Macros sparingly**, and **comments that explain *why***, kept up to date.
|
- **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
|
## For contributors: getting your PR reviewed
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user