diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2022-09-19 10:25:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-19 10:25:03 +0200 |
commit | b1b418b81a13ede548273665e83c1bc5a97dffcd (patch) | |
tree | 731efb5a2811e1d925e94e9a8a16c220ac98de92 /.cargo | |
parent | a4a894fa1e933e8a678f8ad4f6353837859b02fd (diff) |
chore: fix clippy warnings (#15944)
Stop allowing clippy::derive-partial-eq-without-eq and fix warnings
about deriving PartialEq without also deriving Eq.
In one case I removed the PartialEq because it a) wasn't necessary,
and b) sketchy because it was comparing floating point numbers.
IMO, that's a good argument for enforcing the lint rule, because it
would most likely have been caught during review if it had been enabled.
Diffstat (limited to '.cargo')
-rw-r--r-- | .cargo/config.toml | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml index 55e2602b8..a2e0fc565 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -23,6 +23,4 @@ rustflags = [ "clippy::missing_safety_doc", "-D", "clippy::undocumented_unsafe_blocks", - "-A", - "clippy::derive-partial-eq-without-eq", ] |