From e37524899eef8a0034faee35cef4bbf1ba779a7d Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 30 May 2025 14:44:48 -1300 Subject: formatting: merge imports --- azalea/examples/testbot/commands.rs | 10 ++++------ azalea/examples/testbot/main.rs | 14 +++++--------- 2 files changed, 9 insertions(+), 15 deletions(-) (limited to 'azalea/examples/testbot') diff --git a/azalea/examples/testbot/commands.rs b/azalea/examples/testbot/commands.rs index 4e261e17..da6b7cc2 100644 --- a/azalea/examples/testbot/commands.rs +++ b/azalea/examples/testbot/commands.rs @@ -2,12 +2,10 @@ pub mod combat; pub mod debug; pub mod movement; -use azalea::Client; -use azalea::GameProfileComponent; -use azalea::brigadier::prelude::*; -use azalea::chat::ChatPacket; -use azalea::ecs::prelude::*; -use azalea::entity::metadata::Player; +use azalea::{ + Client, GameProfileComponent, brigadier::prelude::*, chat::ChatPacket, ecs::prelude::*, + entity::metadata::Player, +}; use parking_lot::Mutex; use crate::State; diff --git a/azalea/examples/testbot/main.rs b/azalea/examples/testbot/main.rs index 1aa9485d..8a35a281 100644 --- a/azalea/examples/testbot/main.rs +++ b/azalea/examples/testbot/main.rs @@ -25,16 +25,12 @@ mod commands; pub mod killaura; -use std::time::Duration; -use std::{env, process}; -use std::{sync::Arc, thread}; +use std::{env, process, sync::Arc, thread, time::Duration}; -use azalea::ClientInformation; -use azalea::brigadier::command_dispatcher::CommandDispatcher; -use azalea::ecs::prelude::*; -use azalea::pathfinder::debug::PathfinderDebugParticles; -use azalea::prelude::*; -use azalea::swarm::prelude::*; +use azalea::{ + ClientInformation, brigadier::command_dispatcher::CommandDispatcher, ecs::prelude::*, + pathfinder::debug::PathfinderDebugParticles, prelude::*, swarm::prelude::*, +}; use commands::{CommandSource, register_commands}; use parking_lot::Mutex; -- cgit v1.2.3