Skip to content

Commit 3ee5f33

Browse files
wprzytulapsarna
authored andcommitted
scylla-cql: implemented Eq along with PartialEq
This was needed in order to appease new clippy demands.
1 parent 32ef011 commit 3ee5f33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scylla-cql/src/frame/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pub const FLAG_CUSTOM_PAYLOAD: u8 = 0x04;
2727
pub const FLAG_WARNING: u8 = 0x08;
2828

2929
// All of the Authenticators supported by Scylla
30-
#[derive(Debug, PartialEq)]
30+
#[derive(Debug, PartialEq, Eq)]
3131
pub enum Authenticator {
3232
AllowAllAuthenticator,
3333
PasswordAuthenticator,

scylla-cql/src/frame/value.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ pub struct SerializedValues {
6363
}
6464

6565
/// Represents a CQL Duration value
66-
#[derive(Clone, Debug, Copy, PartialEq)]
66+
#[derive(Clone, Debug, Copy, PartialEq, Eq)]
6767
pub struct CqlDuration {
6868
pub months: i32,
6969
pub days: i32,

0 commit comments

Comments
 (0)