*: 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

@ -182,7 +182,7 @@ impl NewRegistration {
}
}
#[derive(Debug, Clone, PartialEq)]
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct Registration {
pub namespace: Namespace,
pub record: PeerRecord,
@ -594,6 +594,7 @@ impl From<UnmappableStatusCode> for ConversionError {
#[error("The response code ({0:?}) cannot be mapped to our ErrorCode enum")]
pub struct UnmappableStatusCode(wire::message::ResponseStatus);
#[allow(clippy::derive_partial_eq_without_eq)]
mod wire {
include!(concat!(env!("OUT_DIR"), "/rendezvous.pb.rs"));
}