Skip to content

Commit

Permalink
Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
adriankumpf committed Nov 1, 2021
1 parent 50a3b5b commit 647e094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 647e094

Please sign in to comment.