Fix nightly clippy derive_partial_eq_without_eq warning
The nightly version of clippy (v1.63.0) warns about implementing
PartialEq
without implementing Eq
when all the member of the
struct
or enum
implement both:
#[derive(Debug, Copy, Clone, PartialEq)]
^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
For further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq