aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/common/movements.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-05-30 19:36:59 -0800
committermat <git@matdoes.dev>2025-05-30 19:36:59 -0800
commitae4b1e85e669bc882d158509ef1eda46c6b2a72e (patch)
treeadf81cc01b0ce1575e95b99ad109fd92db1738f6 /azalea-protocol/src/common/movements.rs
parenta64c6505049082175224802c5be51ac8f0cf4677 (diff)
downloadazalea-drasl-ae4b1e85e669bc882d158509ef1eda46c6b2a72e.tar.xz
fix clippy issues and improve formatting everywhere
Diffstat (limited to 'azalea-protocol/src/common/movements.rs')
-rw-r--r--azalea-protocol/src/common/movements.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-protocol/src/common/movements.rs b/azalea-protocol/src/common/movements.rs
index cf51a57c..7ab7fc2f 100644
--- a/azalea-protocol/src/common/movements.rs
+++ b/azalea-protocol/src/common/movements.rs
@@ -48,7 +48,7 @@ impl AzaleaRead for RelativeMovements {
}
impl AzaleaWrite for RelativeMovements {
- fn azalea_write(&self, buf: &mut impl Write) -> Result<(), io::Error> {
+ fn azalea_write(&self, buf: &mut impl Write) -> io::Result<()> {
let mut set = FixedBitSet::<32>::new();
let mut set_bit = |index: usize, value: bool| {
if value {