fix: clippy warnings

This commit is contained in:
cduvray 2023-09-04 08:47:49 +02:00
parent ad3d846175
commit c27f38138a
2 changed files with 4 additions and 3 deletions

View file

@ -1,5 +1,6 @@
[workspace]
resolver = "2"
members = [
"demo-server",
"jwt-authorizer",
]
]

View file

@ -91,8 +91,8 @@ impl Validation {
HashSet::with_capacity(0)
};
let aud = self.aud.clone().map(|v| HashSet::from_iter(v.into_iter()));
let iss = self.iss.clone().map(|v| HashSet::from_iter(v.into_iter()));
let aud = self.aud.clone().map(HashSet::from_iter);
let iss = self.iss.clone().map(HashSet::from_iter);
let mut jwt_validation = jsonwebtoken::Validation::default();