From 6b0fe5bf638079d535e70c3c91e78fe35a5d2a2f Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 26 Oct 2024 05:29:26 +0000 Subject: group imports with rustfmt --- azalea-brigadier/src/builder/argument_builder.rs | 6 +++--- azalea-brigadier/src/builder/required_argument_builder.rs | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'azalea-brigadier/src/builder') diff --git a/azalea-brigadier/src/builder/argument_builder.rs b/azalea-brigadier/src/builder/argument_builder.rs index 9d3e8cad..9ebe6400 100755 --- a/azalea-brigadier/src/builder/argument_builder.rs +++ b/azalea-brigadier/src/builder/argument_builder.rs @@ -1,14 +1,14 @@ +use std::{fmt::Debug, sync::Arc}; + use parking_lot::RwLock; +use super::{literal_argument_builder::Literal, required_argument_builder::Argument}; use crate::{ context::CommandContext, modifier::RedirectModifier, tree::{Command, CommandNode}, }; -use super::{literal_argument_builder::Literal, required_argument_builder::Argument}; -use std::{fmt::Debug, sync::Arc}; - #[derive(Debug, Clone)] pub enum ArgumentBuilderType { Literal(Literal), diff --git a/azalea-brigadier/src/builder/required_argument_builder.rs b/azalea-brigadier/src/builder/required_argument_builder.rs index 1c79f619..51f0acec 100755 --- a/azalea-brigadier/src/builder/required_argument_builder.rs +++ b/azalea-brigadier/src/builder/required_argument_builder.rs @@ -1,3 +1,5 @@ +use std::{any::Any, fmt::Debug, sync::Arc}; + use super::argument_builder::{ArgumentBuilder, ArgumentBuilderType}; use crate::{ arguments::ArgumentType, @@ -5,7 +7,6 @@ use crate::{ string_reader::StringReader, suggestion::{Suggestions, SuggestionsBuilder}, }; -use std::{any::Any, fmt::Debug, sync::Arc}; /// An argument node type. The `T` type parameter is the type of the argument, /// which can be anything. -- cgit v1.2.3