Skip to content

Commit

Permalink
Merge pull request #80 from gendx/clippy
Browse files Browse the repository at this point in the history
Fix Clippy lints.
  • Loading branch information
gendx authored Aug 23, 2022
2 parents 6e1f0d7 + bd33195 commit 50f07fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/decode/options.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// Options to tweak decompression behavior.
#[derive(Clone, Copy, Debug, PartialEq, Default)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Default)]
pub struct Options {
/// Defines whether the unpacked size should be read from the header or provided.
///
Expand All @@ -19,7 +19,7 @@ pub struct Options {
}

/// Alternatives for defining the unpacked size of the decoded data.
#[derive(Clone, Copy, Debug, PartialEq)]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum UnpackedSize {
/// Assume that the 8 bytes used to specify the unpacked size are present in the header.
/// If the bytes are `0xFFFF_FFFF_FFFF_FFFF`, assume that there is an end-of-payload marker in
Expand Down

0 comments on commit 50f07fc

Please sign in to comment.