actix-web: clippy
This commit is contained in:
parent
98a788dade
commit
772c7f6ecd
|
@ -413,8 +413,8 @@ where
|
|||
}
|
||||
}
|
||||
|
||||
async fn verify<'a, V, E>(
|
||||
verifier: &'a V,
|
||||
async fn verify<V, E>(
|
||||
verifier: &V,
|
||||
config: Config,
|
||||
algorithm: Option<Algorithm>,
|
||||
key_id: String,
|
||||
|
@ -434,9 +434,7 @@ where
|
|||
+ 'static,
|
||||
{
|
||||
match algorithm {
|
||||
None | Some(Algorithm::Hs2019 | Algorithm::Deprecated(DeprecatedAlgorithm::RsaSha256)) => {
|
||||
()
|
||||
}
|
||||
None | Some(Algorithm::Hs2019 | Algorithm::Deprecated(DeprecatedAlgorithm::RsaSha256)) => {}
|
||||
Some(other) => return Err(VerifyError::Algorithm(other.to_string()).into()),
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue