aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/auth.rs4
-rw-r--r--src/listing.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/auth.rs b/src/auth.rs
index b4717d1..1b11557 100644
--- a/src/auth.rs
+++ b/src/auth.rs
@@ -21,7 +21,7 @@ impl From<BasicAuth> for BasicAuthParams {
}
}
-#[derive(Clone, Debug, PartialEq)]
+#[derive(Clone, Debug, PartialEq, Eq)]
/// `password` field of `RequiredAuth`
pub enum RequiredAuthPassword {
Plain(String),
@@ -29,7 +29,7 @@ pub enum RequiredAuthPassword {
Sha512(Vec<u8>),
}
-#[derive(Clone, Debug, PartialEq)]
+#[derive(Clone, Debug, PartialEq, Eq)]
/// Authentication structure to match `BasicAuthParams` against
pub struct RequiredAuth {
pub username: String,
diff --git a/src/listing.rs b/src/listing.rs
index 805c5a0..38e971e 100644
--- a/src/listing.rs
+++ b/src/listing.rs
@@ -69,7 +69,7 @@ pub enum SortingOrder {
Descending,
}
-#[derive(PartialEq)]
+#[derive(PartialEq, Eq)]
/// Possible entry types
pub enum EntryType {
/// Entry is a directory