Skip to content

Commit 3892e31

Browse files
committed
Fix clippy warnings
1 parent 3736eb6 commit 3892e31

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/rpc/maintenance.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ pub struct AlarmResponse(PbAlarmResponse);
214214

215215
/// Alarm member of respond.
216216
#[cfg_attr(feature = "pub-response-field", visible::StructFields(pub))]
217-
#[derive(Clone, PartialEq)]
217+
#[derive(Clone, PartialEq, Eq)]
218218
pub struct AlarmMember {
219219
/// memberID is the ID of the member associated with the raised alarm.
220220
member_id: u64,

src/rpc/pb.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
//! Etcd gRPC API, auto-generated by prost.
22
33
#![allow(clippy::enum_variant_names)]
4+
#![allow(clippy::derive_partial_eq_without_eq)]
45

56
pub mod authpb {
67
tonic::include_proto!("authpb");

0 commit comments

Comments
 (0)