Skip to content

Commit

Permalink
Derive Clone and Copy for CompressionMode
Browse files Browse the repository at this point in the history
This is a data model. Derive proper features to be used easily downstream.
  • Loading branch information
tisonkun authored Nov 15, 2022
1 parent 0abc0a5 commit d4d9614
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 d4d9614

Please sign in to comment.