rust-pcap / pcap

Rust language pcap library
Apache License 2.0
620 stars 142 forks source link

New clippy lint #247

Closed Wojtek242 closed 2 years ago

Wojtek242 commented 2 years ago

https://github.com/rust-pcap/pcap/runs/7822954049?check_suite_focus=true

error: you are deriving `PartialEq` and can implement `Eq`
  --> src/lib.rs:91:17
   |
91 | #[derive(Debug, PartialEq)]
   |                 ^^^^^^^^^ 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