aboutsummaryrefslogtreecommitdiff
path: root/azalea-brigadier/src/builder
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-brigadier/src/builder')
-rwxr-xr-xazalea-brigadier/src/builder/argument_builder.rs6
-rwxr-xr-xazalea-brigadier/src/builder/required_argument_builder.rs3
2 files changed, 5 insertions, 4 deletions
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.