Skip to content

Commit

Permalink
fix fmt warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenleadbeater committed Oct 28, 2024
1 parent b2d77f6 commit b2291e0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/api/oauth2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,7 @@ pub fn get_access_token(

println!("Browse to: {}", auth_url);
if let Err(err) = open::that(auth_url.to_string()) {
eprintln!(
"An error occurred when opening '{}': {}",
auth_url,
err
)
eprintln!("An error occurred when opening '{}': {}", auth_url, err)
}

let code = match get_socket_address(redirect_uri) {
Expand Down

0 comments on commit b2291e0

Please sign in to comment.