aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/lib.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2024-10-26 05:29:26 +0000
committermat <git@matdoes.dev>2024-10-26 05:29:26 +0000
commit6b0fe5bf638079d535e70c3c91e78fe35a5d2a2f (patch)
tree3b65d2984a0cffbe5acb3d44d7e3b8b145c32f95 /azalea-protocol/src/lib.rs
parentb762575db61cf775d603e11eb2bd27ae13bdc4e9 (diff)
downloadazalea-drasl-6b0fe5bf638079d535e70c3c91e78fe35a5d2a2f.tar.xz
group imports with rustfmt
Diffstat (limited to 'azalea-protocol/src/lib.rs')
-rw-r--r--azalea-protocol/src/lib.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/azalea-protocol/src/lib.rs b/azalea-protocol/src/lib.rs
index 8683233e..0b2db1cf 100644
--- a/azalea-protocol/src/lib.rs
+++ b/azalea-protocol/src/lib.rs
@@ -103,6 +103,9 @@ impl serde::Serialize for ServerAddress {
mod tests {
use std::io::Cursor;
+ use bytes::BytesMut;
+ use uuid::Uuid;
+
use crate::{
packets::{
game::serverbound_chat_packet::{LastSeenMessagesUpdate, ServerboundChatPacket},
@@ -111,8 +114,6 @@ mod tests {
read::{compression_decoder, read_packet},
write::{compression_encoder, serialize_packet, write_packet},
};
- use bytes::BytesMut;
- use uuid::Uuid;
#[tokio::test]
async fn test_hello_packet() {