Skip to content

Commit

Permalink
remove the borrow
Browse files Browse the repository at this point in the history
  • Loading branch information
DLBPointon committed Jul 17, 2024
1 parent a189b10 commit f33a574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exclude_seq.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub mod exclude_seq_mod {
let mut binding = fasta;
for result in binding.records() {
let record = result?;
let record_name = str::from_utf8(&record.name())?;
let record_name = str::from_utf8(record.name())?;
if !exclusions.contains(&record_name) {
writer.write_record(&record)?;
} else {
Expand Down

0 comments on commit f33a574

Please sign in to comment.