Skip to content

Commit

Permalink
Merge pull request #30 from tisonkun/patch-1
Browse files Browse the repository at this point in the history
Derive Clone and Copy for CompressionMode
  • Loading branch information
pmarks authored Nov 15, 2022
2 parents 0abc0a5 + d4d9614 commit 562c26c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/block/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use super::liblz4::*;
use std::io::{Error, ErrorKind, Result};

/// Represents the compression mode do be used.
#[derive(Debug)]
#[derive(Clone, Copy, Debug)]
pub enum CompressionMode {
/// High compression with compression parameter
HIGHCOMPRESSION(i32),
Expand Down

0 comments on commit 562c26c

Please sign in to comment.