Skip to content

Commit

Permalink
clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
tedil committed Jun 10, 2024
1 parent faa04f8 commit 36ae6a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapper/alignment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ fn hgvs_to_zbc(i: i32) -> i32 {
///
/// The input exons are expected to be in transcript order, and the resulting CIGAR is also
/// in transcript order.
pub fn build_tx_cigar(exons: &Vec<TxExonsRecord>, strand: i16) -> Result<CigarString, Error> {
pub fn build_tx_cigar(exons: &[TxExonsRecord], strand: i16) -> Result<CigarString, Error> {
if exons.is_empty() {
return Err(Error::EmptyExons);
}
Expand Down

0 comments on commit 36ae6a6

Please sign in to comment.