aboutsummaryrefslogtreecommitdiff
path: root/azalea-chat/src
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-chat/src')
-rw-r--r--azalea-chat/src/style.rs4
-rw-r--r--azalea-chat/src/translatable_component.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/azalea-chat/src/style.rs b/azalea-chat/src/style.rs
index 7792f812..245e95c1 100644
--- a/azalea-chat/src/style.rs
+++ b/azalea-chat/src/style.rs
@@ -9,7 +9,7 @@ use simdnbt::owned::{NbtCompound, NbtTag};
use crate::{click_event::ClickEvent, hover_event::HoverEvent};
-#[derive(Clone, PartialEq, Eq, Debug, Hash)]
+#[derive(Clone, Debug, Eq, Hash, PartialEq)]
pub struct TextColor {
pub value: u32,
pub name: Option<String>,
@@ -97,7 +97,7 @@ impl Ansi {
}
}
-#[derive(Clone, Copy, PartialEq, Eq, Hash, Debug)]
+#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]
#[cfg_attr(feature = "azalea-buf", derive(AzBuf))]
pub enum ChatFormatting {
Black,
diff --git a/azalea-chat/src/translatable_component.rs b/azalea-chat/src/translatable_component.rs
index f6be2aa5..ed8f1d76 100644
--- a/azalea-chat/src/translatable_component.rs
+++ b/azalea-chat/src/translatable_component.rs
@@ -9,7 +9,7 @@ use simdnbt::{
use crate::{FormattedText, base_component::BaseComponent, text_component::TextComponent};
-#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
+#[derive(Clone, Debug, Deserialize, PartialEq, Serialize)]
#[serde(untagged)]
pub enum PrimitiveOrComponent {
Boolean(bool),