diff --git a/src/core/src/from.rs b/src/core/src/from.rs index d8222fd42..c6ef6aafa 100644 --- a/src/core/src/from.rs +++ b/src/core/src/from.rs @@ -16,7 +16,7 @@ impl From for KmerMinHash { let mut new_mh = KmerMinHash::new( 0, - values.get(0).unwrap().kmer.len() as u32, + values.first().unwrap().kmer.len() as u32, HashFunctions::Murmur64Dna, 42, true,