Skip to content

Commit

Permalink
bam/record/codec/decoder/cigar: Remove unused error
Browse files Browse the repository at this point in the history
  • Loading branch information
zaeleus committed Aug 15, 2024
1 parent 007d4bc commit bb2938f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions noodles-bam/src/record/codec/decoder/cigar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ pub enum DecodeError {
UnexpectedEof,
/// An op is invalid.
InvalidOp(op::DecodeError),
/// The reference sequence ID is invalid.
InvalidReferenceSequence,
/// The `CG` data field type is invalid.
InvalidDataType,
}
Expand All @@ -41,7 +39,6 @@ impl fmt::Display for DecodeError {
match self {
Self::UnexpectedEof => write!(f, "unexpected EOF"),
Self::InvalidOp(_) => write!(f, "invalid op"),
Self::InvalidReferenceSequence => write!(f, "invalid reference sequence"),
Self::InvalidDataType => write!(f, "invalid CG data field type"),
}
}
Expand Down

0 comments on commit bb2938f

Please sign in to comment.