*: Fix clippy::derive-partial-eq-without-eq (#2818)

This commit is contained in:
Elena Frank
2022-08-14 04:03:04 +02:00
committed by GitHub
parent 0a01c81c7b
commit 06aaea67f3
20 changed files with 25 additions and 13 deletions

View File

@ -40,7 +40,7 @@ use std::{
};
/// Outbound probe failed or was aborted.
#[derive(Debug, Clone, PartialEq)]
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum OutboundProbeError {
/// Probe was aborted because no server is known, or all servers
/// are throttled through [`Config::throttle_server_period`].
@ -54,7 +54,7 @@ pub enum OutboundProbeError {
Response(ResponseError),
}
#[derive(Debug, Clone, PartialEq)]
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum OutboundProbeEvent {
/// A dial-back request was sent to a remote peer.
Request {