Skip to content

Commit f3e33cb

Browse files
committed
chore: clippy
1 parent 9ce8948 commit f3e33cb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/services/oidc.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ pub async fn authority() -> Result<Authority> {
7676
jwt::Issuer::from_str(
7777
CONFIG
7878
.oidc_issuer()
79-
.as_ref()
80-
.and_then(|issuer| Some(issuer.clone()))
79+
.clone()
8180
.unwrap_or(issuer.clone().to_string())
8281
.as_str(),
8382
)

0 commit comments

Comments
 (0)