From 9be8445e94a3b8b33d80c4f2903074c7ba8a29e8 Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Mon, 23 May 2022 06:02:04 +0200 Subject: Fix new clippy lints --- src/auth.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/auth.rs') 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 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), } -#[derive(Clone, Debug, PartialEq)] +#[derive(Clone, Debug, PartialEq, Eq)] /// Authentication structure to match `BasicAuthParams` against pub struct RequiredAuth { pub username: String, -- cgit v1.2.3