aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/account.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-12-15 11:14:40 +0930
committermat <git@matdoes.dev>2025-12-15 11:14:40 +0930
commitdcbd690f21665e22ea250024a1aa85dec34e6c9e (patch)
tree411c76eb92ca1cfe284e56f47bc0abd4079a3364 /azalea-client/src/account.rs
parentb0a2a809331b0f781517649857d31e0aec67d300 (diff)
downloadazalea-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-client/src/account.rs')
-rw-r--r--azalea-client/src/account.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-client/src/account.rs b/azalea-client/src/account.rs
index ea49368e..f988ade9 100644
--- a/azalea-client/src/account.rs
+++ b/azalea-client/src/account.rs
@@ -33,7 +33,7 @@ use uuid::Uuid;
///
/// [`Client::join`]: crate::Client::join
/// [`azalea::ClientBuilder`]: https://docs.rs/azalea/latest/azalea/struct.ClientBuilder.html
-#[derive(Clone, Debug, Component)]
+#[derive(Clone, Component, Debug)]
pub struct Account {
/// The Minecraft username of the account.
pub username: String,
@@ -269,7 +269,7 @@ impl Account {
}
#[cfg(feature = "online-mode")]
-#[derive(Error, Debug)]
+#[derive(Debug, Error)]
pub enum RequestCertError {
#[error("Failed to fetch certificates")]
FetchCertificates(#[from] FetchCertificatesError),