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-registry/src/data.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-registry/src/data.rs')
| -rw-r--r-- | azalea-registry/src/data.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-registry/src/data.rs b/azalea-registry/src/data.rs index 75fd8439..b2c3691b 100644 --- a/azalea-registry/src/data.rs +++ b/azalea-registry/src/data.rs @@ -16,7 +16,7 @@ macro_rules! data_registry { } ) => { $(#[$doc])* - #[derive(Debug, Clone, Copy, AzBuf, PartialEq, Eq, Hash, PartialOrd, Ord)] + #[derive(AzBuf, Clone, Copy, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)] pub struct $registry { #[var] id: u32, @@ -44,7 +44,7 @@ macro_rules! data_registry { } } - #[derive(Debug, PartialEq, Eq, Hash, Clone)] + #[derive(Clone, Debug, Eq, Hash, PartialEq)] pub enum $enum_name<Other = Identifier> { $($variant),*, Other(Other) |
