From 3da956c5af09c89e325928efb8dabe55d7fd6983 Mon Sep 17 00:00:00 2001 From: khai96_ Date: Wed, 1 May 2019 14:00:30 +0700 Subject: Ignore clippy warnings --- src/auth.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/auth.rs') diff --git a/src/auth.rs b/src/auth.rs index 8e6532b..040e81f 100644 --- a/src/auth.rs +++ b/src/auth.rs @@ -75,6 +75,7 @@ pub fn match_auth(basic_auth: BasicAuthParams, required_auth: &RequiredAuth) -> } /// Return `true` if hashing of `password` by `T` algorithm equals to `hash` +#[allow(clippy::ptr_arg)] pub fn compare_hash(password: String, hash: &Vec) -> bool { get_hash::(password) == *hash } -- cgit v1.2.3