diff options
| author | mat <git@matdoes.dev> | 2023-12-01 23:09:24 -0600 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-12-01 23:09:24 -0600 |
| commit | 3eb9998c989cbf9305f4584af94daae72780fea7 (patch) | |
| tree | 842c34eccc15913c3b4a1a61e3803a21aa5ded4e /azalea-protocol/src/lib.rs | |
| parent | 175eacfac37cbe05911fa2d19dee7e7fa38a5c2e (diff) | |
| download | azalea-drasl-3eb9998c989cbf9305f4584af94daae72780fea7.tar.xz | |
compression does not need to be async
Diffstat (limited to 'azalea-protocol/src/lib.rs')
| -rw-r--r-- | azalea-protocol/src/lib.rs | 4 |
1 files changed, 1 insertions, 3 deletions
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); |
