Skip to content

Commit

Permalink
Eq impl
Browse files Browse the repository at this point in the history
  • Loading branch information
fafhrd91 committed Jul 7, 2022
1 parent b5d4d35 commit 37d8121
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cmd/keys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ where
])
}

#[derive(Debug, PartialEq)]
#[derive(Debug, PartialEq, Eq)]
pub enum TtlResult {
Seconds(i64),
NoExpire,
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/pubsub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const TYPE_PMESSAGE: Bytes = Bytes::from_static(b"pmessage");

pub trait PubSubCommand {}

#[derive(Debug, PartialEq)]
#[derive(Debug, PartialEq, Eq)]
pub enum SubscribeItem {
Subscribed(Bytes),
UnSubscribed(Bytes),
Expand Down

0 comments on commit 37d8121

Please sign in to comment.