From 3eb9998c989cbf9305f4584af94daae72780fea7 Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 1 Dec 2023 23:09:24 -0600 Subject: compression does not need to be async --- azalea-protocol/src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'azalea-protocol/src/lib.rs') diff --git a/azalea-protocol/src/lib.rs b/azalea-protocol/src/lib.rs index 38acd705..8683233e 100644 --- a/azalea-protocol/src/lib.rs +++ b/azalea-protocol/src/lib.rs @@ -180,9 +180,7 @@ mod tests { ) .unwrap(); - let buf = compression_encoder(&buf, compression_threshold) - .await - .unwrap(); + let buf = compression_encoder(&buf, compression_threshold).unwrap(); println!("{:?}", buf); -- cgit v1.2.3