Fix clippy: Remove uneccessary closure
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
b46ec54cc4
commit
691117e1cb
|
@ -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()),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue