From e8deda5d2e45eb634700614009cbcc5b35949e26 Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 25 Jun 2022 17:37:29 -0500 Subject: clippo --- azalea-buf/src/write.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'azalea-buf/src/write.rs') 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(()) } -- cgit v1.2.3