From 4355e7f74b2bea8a87ef59b8de8123270c53ca09 Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 3 Dec 2023 20:31:36 -0600 Subject: clippy --- azalea-auth/src/auth.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'azalea-auth/src') diff --git a/azalea-auth/src/auth.rs b/azalea-auth/src/auth.rs index 49f0c34a..68b03306 100755 --- a/azalea-auth/src/auth.rs +++ b/azalea-auth/src/auth.rs @@ -438,7 +438,7 @@ async fn auth_with_xbox_live( Ok(ExpiringValue { data: XboxLiveAuth { token: res.token, - user_hash: res.display_claims["xui"].get(0).unwrap()["uhs"].clone(), + user_hash: res.display_claims["xui"].first().unwrap()["uhs"].clone(), }, expires_at, }) -- cgit v1.2.3