Skip to content

Commit

Permalink
Fix clippy::useless_conversion warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
zaeleus committed Sep 4, 2023
1 parent 44a0ddb commit 632d9fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/commands/quantify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ where
let reference_sequences = header.reference_sequences().clone();

let mut feature_ids = Vec::with_capacity(names.len());
feature_ids.extend(names.into_iter());
feature_ids.extend(names);
feature_ids.sort();

info!("detecting library type");
Expand Down
2 changes: 1 addition & 1 deletion src/count.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ pub fn count_paired_end_record_pair(

let set2 = find(tree, intervals, strand_specification, is_reverse)?;

set.extend(set2.into_iter());
set.extend(set2);

Ok(update_intersections(set))
}
Expand Down

0 comments on commit 632d9fc

Please sign in to comment.