White-Whale-Defi-Platform/white-whale-core

rust 1.63.0 clippy::derive_partial_eq_without_eq

Closed this issue · 1 comments

For the version 1.63. clippy::derive_partial_eq_without_eq https://rust-lang.github.io/rust-clippy/rust-1.63.0/index.html#derive_partial_eq_without_eq is not passing the clippy command

cargo clippy -- -D warnings

error: you are deriving `PartialEq` and can implement `Eq`
 --> packages/white-whale/src/fee.rs:6:48
  |
6 | #[derive(Deserialize, Serialize, Clone, Debug, PartialEq, JsonSchema)]
  |                                                ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
  |
  = note: `-D clippy::derive-partial-eq-without-eq` implied by `-D warnings`
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

error: could not compile `white-whale` due to previous error

Note that #81 will solve this issue too.