[fractal] chore: Fix new clippy nightly warnings



commit b739c391e281b9b149fda0f828502020069b2614
Author: Kévin Commaille <zecakeh tedomum fr>
Date:   Sat Jun 4 11:42:50 2022 +0200

    chore: Fix new clippy nightly warnings

 src/contrib/qr_code_scanner/mod.rs                | 2 +-
 src/session/verification/identity_verification.rs | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/contrib/qr_code_scanner/mod.rs b/src/contrib/qr_code_scanner/mod.rs
index b1aba8afb..ae58e0437 100644
--- a/src/contrib/qr_code_scanner/mod.rs
+++ b/src/contrib/qr_code_scanner/mod.rs
@@ -124,6 +124,6 @@ impl QrCodeScanner {
     }
 }
 
-#[derive(Clone, Debug, PartialEq, glib::Boxed)]
+#[derive(Clone, Debug, PartialEq, Eq, glib::Boxed)]
 #[boxed_type(name = "QrVerificationDataBoxed")]
 struct QrVerificationDataBoxed(QrVerificationData);
diff --git a/src/session/verification/identity_verification.rs 
b/src/session/verification/identity_verification.rs
index 8ca9ec275..6be386e10 100644
--- a/src/session/verification/identity_verification.rs
+++ b/src/session/verification/identity_verification.rs
@@ -128,7 +128,7 @@ impl Default for SupportedMethods {
     }
 }
 
-#[derive(Debug, PartialEq, Clone)]
+#[derive(Debug, PartialEq, Eq, Clone)]
 pub enum UserAction {
     Accept,
     Match,
@@ -139,7 +139,7 @@ pub enum UserAction {
     ConfirmScanning,
 }
 
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Eq)]
 pub enum Message {
     UserAction(UserAction),
     NotifyState,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]