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/src/lib.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'azalea-protocol/src/lib.rs') diff --git a/azalea-protocol/src/lib.rs b/azalea-protocol/src/lib.rs index 12243de6..f9d29785 100644 --- a/azalea-protocol/src/lib.rs +++ b/azalea-protocol/src/lib.rs @@ -115,9 +115,9 @@ mod tests { use crate::{ packets::{ - game::s_chat::{LastSeenMessagesUpdate, ServerboundChat}, - login::{s_hello::ServerboundHello, ServerboundLoginPacket}, Packet, + game::s_chat::{LastSeenMessagesUpdate, ServerboundChat}, + login::{ServerboundLoginPacket, s_hello::ServerboundHello}, }, read::{compression_decoder, read_packet}, write::{compression_encoder, serialize_packet, write_packet}, @@ -136,7 +136,9 @@ mod tests { assert_eq!( stream, - [22, 0, 4, 116, 101, 115, 116, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] + [ + 22, 0, 4, 116, 101, 115, 116, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ] ); let mut stream = Cursor::new(stream); -- cgit v1.2.3