Skip to content

Commit

Permalink
feat: derive PartialEq and Eq for bam:: and bcf::Format
Browse files Browse the repository at this point in the history
  • Loading branch information
mbhall88 committed Apr 19, 2024
1 parent 79d70cd commit 223fabf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bam/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ impl Drop for IndexedReader {
}
}

#[derive(Debug, Clone, Copy)]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum Format {
Sam,
Bam,
Expand Down
2 changes: 1 addition & 1 deletion src/bcf/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ pub mod synced {
}
}

#[derive(Clone, Copy, Debug)]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum Format {
Vcf,
Bcf,
Expand Down

0 comments on commit 223fabf

Please sign in to comment.