Skip to content

Commit

Permalink
Update crates/protocol/src/compression/zlib.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Seitz <[email protected]>
  • Loading branch information
refcell and mattsse authored Nov 22, 2024
1 parent 584dc98 commit c637b0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/protocol/src/compression/zlib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ use miniz_oxide::inflate::DecompressError;
const BEST_ZLIB_COMPRESSION: u8 = 9;

/// The ZLIB compressor.
#[derive(Debug, Clone)]
#[derive(Debug, Clone, Default)]
#[non_exhaustive]
pub struct ZlibCompressor;

impl Compressor for ZlibCompressor {
Expand Down

0 comments on commit c637b0d

Please sign in to comment.