mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-05 19:42:03 +02:00
Chore: fix clippy warnings for stable (1.87) and nightly (1.89) (#1504)
* chore: stable - fix clippy warnings * chore: nightly - fix clippy warnings
This commit is contained in:
parent
8b729540f4
commit
3686718ea2
6 changed files with 13 additions and 19 deletions
|
@ -237,7 +237,7 @@ impl OAuthClient {
|
|||
if self.should_open_url {
|
||||
open::that_in_background(auth_url.as_str());
|
||||
}
|
||||
println!("Browse to: {}", auth_url);
|
||||
println!("Browse to: {auth_url}");
|
||||
|
||||
pkce_verifier
|
||||
}
|
||||
|
@ -456,7 +456,7 @@ pub fn get_access_token(
|
|||
.set_pkce_challenge(pkce_challenge)
|
||||
.url();
|
||||
|
||||
println!("Browse to: {}", auth_url);
|
||||
println!("Browse to: {auth_url}");
|
||||
|
||||
let code = match get_socket_address(redirect_uri) {
|
||||
Some(addr) => get_authcode_listener(addr, String::from("Go back to your terminal :)")),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue