mirror of
https://github.com/TECHNOFAB11/jwt-authorizer.git
synced 2025-12-10 23:20:05 +01:00
fix: clippy warnings
This commit is contained in:
parent
ad3d846175
commit
c27f38138a
2 changed files with 4 additions and 3 deletions
|
|
@ -1,5 +1,6 @@
|
|||
[workspace]
|
||||
resolver = "2"
|
||||
members = [
|
||||
"demo-server",
|
||||
"jwt-authorizer",
|
||||
]
|
||||
]
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue