Skip to content

Commit

Permalink
Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
davidli2010 committed Oct 5, 2022
1 parent 3736eb6 commit 3892e31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpc/maintenance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ pub struct AlarmResponse(PbAlarmResponse);

/// Alarm member of respond.
#[cfg_attr(feature = "pub-response-field", visible::StructFields(pub))]
#[derive(Clone, PartialEq)]
#[derive(Clone, PartialEq, Eq)]
pub struct AlarmMember {
/// memberID is the ID of the member associated with the raised alarm.
member_id: u64,
Expand Down
1 change: 1 addition & 0 deletions src/rpc/pb.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//! Etcd gRPC API, auto-generated by prost.
#![allow(clippy::enum_variant_names)]
#![allow(clippy::derive_partial_eq_without_eq)]

pub mod authpb {
tonic::include_proto!("authpb");
Expand Down

0 comments on commit 3892e31

Please sign in to comment.