aboutsummaryrefslogtreecommitdiff
path: root/azalea-buf
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-buf')
-rw-r--r--azalea-buf/src/definitions.rs2
-rw-r--r--azalea-buf/src/read.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/azalea-buf/src/definitions.rs b/azalea-buf/src/definitions.rs
index 18581aa0..58bec752 100644
--- a/azalea-buf/src/definitions.rs
+++ b/azalea-buf/src/definitions.rs
@@ -1,7 +1,7 @@
use std::ops::Deref;
/// A `Vec<u8>` that isn't prefixed by a VarInt with the size.
-#[derive(Debug, Clone, PartialEq, Eq, Hash)]
+#[derive(Clone, Debug, Eq, Hash, PartialEq)]
pub struct UnsizedByteArray(pub Vec<u8>);
impl Deref for UnsizedByteArray {
diff --git a/azalea-buf/src/read.rs b/azalea-buf/src/read.rs
index a906c8c1..7cea9695 100644
--- a/azalea-buf/src/read.rs
+++ b/azalea-buf/src/read.rs
@@ -13,7 +13,7 @@ use tracing::warn;
use super::{MAX_STRING_LENGTH, UnsizedByteArray};
-#[derive(Error, Debug)]
+#[derive(Debug, Error)]
pub enum BufReadError {
#[error("Invalid VarInt")]
InvalidVarInt,