From 6b1ec2814db9e03391da627bb51dd536d7bb053e Mon Sep 17 00:00:00 2001 From: Aditya Kumar <117935160+AS1100K@users.noreply.github.com> Date: Sun, 11 Aug 2024 17:42:53 +0530 Subject: [PATCH] removed unnecessary `mut` --- azalea-auth/src/auth.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azalea-auth/src/auth.rs b/azalea-auth/src/auth.rs index ba4be7edd..08d2d3a84 100755 --- a/azalea-auth/src/auth.rs +++ b/azalea-auth/src/auth.rs @@ -357,7 +357,7 @@ pub async fn get_ms_auth_token( tokio::time::sleep(std::time::Duration::from_secs(res.interval)).await; tracing::trace!("Polling to check if user has logged in..."); - if let Ok(mut access_token_response) = client + if let Ok(access_token_response) = client .post(format!( "https://login.live.com/oauth20_token.srf?client_id={client_id}" ))