aboutsummaryrefslogtreecommitdiff
path: root/azalea-buf/src/write.rs
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-06-25 17:37:29 -0500
committermat <github@matdoes.dev>2022-06-25 17:37:29 -0500
commite8deda5d2e45eb634700614009cbcc5b35949e26 (patch)
treedab321d33c66e20e8b558d9777550a3d27cd4b59 /azalea-buf/src/write.rs
parent978880b756aa052226f77c21e8e9de9b40070152 (diff)
downloadazalea-drasl-e8deda5d2e45eb634700614009cbcc5b35949e26.tar.xz
clippo
Diffstat (limited to 'azalea-buf/src/write.rs')
-rw-r--r--azalea-buf/src/write.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-buf/src/write.rs b/azalea-buf/src/write.rs
index 38ddcf49..df7f56e0 100644
--- a/azalea-buf/src/write.rs
+++ b/azalea-buf/src/write.rs
@@ -191,7 +191,7 @@ impl McBufVarWritable for i64 {
}
// this only writes a single byte, so write_all isn't necessary
// the let _ = is so clippy doesn't complain
- let _ = buf.write(&mut buffer)?;
+ let _ = buf.write(&buffer)?;
}
Ok(())
}