diff options
| author | mat <git@matdoes.dev> | 2025-12-15 11:14:40 +0930 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-12-15 11:14:40 +0930 |
| commit | dcbd690f21665e22ea250024a1aa85dec34e6c9e (patch) | |
| tree | 411c76eb92ca1cfe284e56f47bc0abd4079a3364 /azalea-chat/src/style.rs | |
| parent | b0a2a809331b0f781517649857d31e0aec67d300 (diff) | |
| download | azalea-drasl-dcbd690f21665e22ea250024a1aa85dec34e6c9e.tar.xz | |
sort derives with cargo sort-derives
might add to ci later, unsure how to do it without adding significant friction for contributors though
Diffstat (limited to 'azalea-chat/src/style.rs')
| -rw-r--r-- | azalea-chat/src/style.rs | 4 |
1 files changed, 2 insertions, 2 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, |
