Fix clippy: Remove unnecessary closure

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

View File

@ -110,7 +110,7 @@ impl<'a> AppBuilder<'a> {
Ok(App {
client_name: self
.client_name
.ok_or_else(|| Error::MissingField("client_name"))?
.ok_or(Error::MissingField("client_name"))?
.into(),
redirect_uris: self
.redirect_uris