aboutsummaryrefslogtreecommitdiff
path: root/azalea-auth/src
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2023-01-21 22:25:22 -0600
committermat <github@matdoes.dev>2023-01-21 22:25:22 -0600
commitc652bbc6091212811133466914e7ef39e61a7b21 (patch)
treec2eef8d242e07054af9ae9df6f8af7a6a3e630f2 /azalea-auth/src
parent9ee5e71bb13e596248fde000d8717c86276b0ce1 (diff)
downloadazalea-drasl-c652bbc6091212811133466914e7ef39e61a7b21.tar.xz
clippy
Diffstat (limited to 'azalea-auth/src')
-rwxr-xr-xazalea-auth/src/auth.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/azalea-auth/src/auth.rs b/azalea-auth/src/auth.rs
index e668a947..bb72c8c4 100755
--- a/azalea-auth/src/auth.rs
+++ b/azalea-auth/src/auth.rs
@@ -257,8 +257,7 @@ async fn interactive_get_ms_auth_token(
log::trace!("Polling to check if user has logged in...");
if let Ok(access_token_response) = client
.post(format!(
- "https://login.live.com/oauth20_token.srf?client_id={}",
- CLIENT_ID
+ "https://login.live.com/oauth20_token.srf?client_id={CLIENT_ID}"
))
.form(&vec![
("client_id", CLIENT_ID),