Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ctb committed Nov 4, 2024
1 parent ba26465 commit b12896e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -545,9 +545,7 @@ impl KmerCountTable {
let mut n = 0;
// If store_kmers is true, then count & log hash:kmer pairs
if self.store_kmers {
let hash_to_kmer = self.hash_to_kmer
.as_mut()
.unwrap();
let hash_to_kmer = self.hash_to_kmer.as_mut().unwrap();

// Create an iterator for (canonical_kmer, hash) pairs
let iter = KmersAndHashesIter::new(seq, self.ksize as usize, skip_bad_kmers);
Expand Down

0 comments on commit b12896e

Please sign in to comment.