diff --git a/src/mapper/altseq.rs b/src/mapper/altseq.rs index d4470cf..74e8599 100644 --- a/src/mapper/altseq.rs +++ b/src/mapper/altseq.rs @@ -1093,7 +1093,7 @@ impl AltSeqToHgvsp { is_init_met: bool, is_frameshift: bool, ) -> Result { - assert!(start.is_some() == end.is_some()); + assert_eq!(start.is_some(), end.is_some()); // If the `alternative` contains a stop codon (`*`/`X`) then we have to truncate // after it.