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/exceptions/builtin_exceptions.rs | 3 +-- azalea-brigadier/src/exceptions/command_syntax_exception.rs | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'azalea-brigadier/src/exceptions') diff --git a/azalea-brigadier/src/exceptions/builtin_exceptions.rs b/azalea-brigadier/src/exceptions/builtin_exceptions.rs index e60c697c..bf2072c1 100755 --- a/azalea-brigadier/src/exceptions/builtin_exceptions.rs +++ b/azalea-brigadier/src/exceptions/builtin_exceptions.rs @@ -1,8 +1,7 @@ use std::fmt; -use crate::string_reader::StringReader; - use super::command_syntax_exception::CommandSyntaxException; +use crate::string_reader::StringReader; #[derive(Clone, PartialEq)] pub enum BuiltInExceptions { diff --git a/azalea-brigadier/src/exceptions/command_syntax_exception.rs b/azalea-brigadier/src/exceptions/command_syntax_exception.rs index 0254820d..657649b0 100755 --- a/azalea-brigadier/src/exceptions/command_syntax_exception.rs +++ b/azalea-brigadier/src/exceptions/command_syntax_exception.rs @@ -1,9 +1,10 @@ -use super::builtin_exceptions::BuiltInExceptions; use std::{ cmp, fmt::{self, Write}, }; +use super::builtin_exceptions::BuiltInExceptions; + #[derive(Clone, PartialEq)] pub struct CommandSyntaxException { pub type_: BuiltInExceptions, -- cgit v1.2.3