From 34f53baf85fb5c7163ec5d71a8ab9d45d3f271b6 Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 22 Feb 2025 23:01:54 +0000 Subject: update to rust edition 2024 --- azalea-client/src/ping.rs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'azalea-client/src/ping.rs') diff --git a/azalea-client/src/ping.rs b/azalea-client/src/ping.rs index f5d714cd..38d5c26f 100755 --- a/azalea-client/src/ping.rs +++ b/azalea-client/src/ping.rs @@ -3,19 +3,20 @@ use std::io; use azalea_protocol::{ + ServerAddress, connect::{Connection, ConnectionError, Proxy}, packets::{ + ClientIntention, PROTOCOL_VERSION, handshake::{ - s_intention::ServerboundIntention, ClientboundHandshakePacket, - ServerboundHandshakePacket, + ClientboundHandshakePacket, ServerboundHandshakePacket, + s_intention::ServerboundIntention, }, status::{ - c_status_response::ClientboundStatusResponse, - s_status_request::ServerboundStatusRequest, ClientboundStatusPacket, + ClientboundStatusPacket, c_status_response::ClientboundStatusResponse, + s_status_request::ServerboundStatusRequest, }, - ClientIntention, PROTOCOL_VERSION, }, - resolver, ServerAddress, + resolver, }; use thiserror::Error; -- cgit v1.2.3