Fix clippy warnings

This commit is contained in:
Adrian Kumpf
2021-11-01 22:16:38 +01:00
parent 50a3b5b308
commit 647e09443b
+1 -1
View File
@@ -155,7 +155,7 @@ fn url_handler(
let state = query.get("state").expect("No state parameter found");
let code = query.get("code").expect("No code parameter found");
let issuer = query.get("issuer").expect("No issuer parameter found");
let issuer_url = Url::parse(&issuer).expect("Issuer URL is not valid");
let issuer_url = Url::parse(issuer).expect("Issuer URL is not valid");
let event =
match client.retrieve_tokens(code, state, &issuer_url, exchange_sso_token) {