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-protocol/examples/handshake_proxy.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'azalea-protocol/examples') diff --git a/azalea-protocol/examples/handshake_proxy.rs b/azalea-protocol/examples/handshake_proxy.rs index f50300d0..0161258a 100644 --- a/azalea-protocol/examples/handshake_proxy.rs +++ b/azalea-protocol/examples/handshake_proxy.rs @@ -6,17 +6,17 @@ use std::{error::Error, sync::LazyLock}; use azalea_protocol::{ connect::Connection, packets::{ + ClientIntention, PROTOCOL_VERSION, VERSION_NAME, handshake::{ - s_intention::ServerboundIntention, ClientboundHandshakePacket, - ServerboundHandshakePacket, + ClientboundHandshakePacket, ServerboundHandshakePacket, + s_intention::ServerboundIntention, }, - login::{s_hello::ServerboundHello, ServerboundLoginPacket}, + login::{ServerboundLoginPacket, s_hello::ServerboundHello}, status::{ + ServerboundStatusPacket, c_pong_response::ClientboundPongResponse, c_status_response::{ClientboundStatusResponse, Players, Version}, - ServerboundStatusPacket, }, - ClientIntention, PROTOCOL_VERSION, VERSION_NAME, }, read::ReadPacketError, }; -- cgit v1.2.3