mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
chore(clippy): allow #[must_use]
This commit is contained in:
parent
7496bb521f
commit
ed693d9941
1 changed files with 5 additions and 0 deletions
|
|
@ -58,6 +58,11 @@ rustflags = [
|
|||
# This rule is too pedantic, I don't want to force this because naming things are hard.
|
||||
"-Aclippy::module_name_repetitions",
|
||||
|
||||
# #[must_use] is creating too much noise for this codebase, it does not add much value execept nagging
|
||||
# the programmer to add a #[must_use] after clippy has been run.
|
||||
# Having #[must_use] every where also hinders readability.
|
||||
"-Aclippy::must_use_candidate",
|
||||
|
||||
# nursery
|
||||
|
||||
# `const` functions do not make sense for our project because this is not a `const` library.
|
||||
|
|
|
|||
Loading…
Reference in a new issue