[Virtio-fs] [virtiofsd] MR merged: Fix nightly clippy derive_partial_eq_without_eq warning

virtiofs-bot at sinrega.org virtiofs-bot at sinrega.org
Fri Jun 17 06:03:02 UTC 2022


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
---
https://gitlab.com/virtio-fs/virtiofsd/-/merge_requests/125



More information about the Virtio-fs mailing list