Fix clippy: Remove uneccessary closure

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2022-12-27 15:52:27 +01:00
parent b46ec54cc4
commit 691117e1cb
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ impl<'a> AppBuilder<'a> {
.redirect_uris .redirect_uris
.unwrap_or_else(|| "urn:ietf:wg:oauth:2.0:oob".into()) .unwrap_or_else(|| "urn:ietf:wg:oauth:2.0:oob".into())
.into(), .into(),
scopes: self.scopes.unwrap_or_else(|| Scopes::read_all()), scopes: self.scopes.unwrap_or_else(Scopes::read_all),
website: self.website.map(|s| s.into()), website: self.website.map(|s| s.into()),
}) })
} }