From 7c1289905417477aca190d2fe46361e9ad41e7f0 Mon Sep 17 00:00:00 2001 From: Luiz Irber Date: Sun, 3 Mar 2024 12:43:49 -0800 Subject: [PATCH] fix clippy lint --- src/core/src/from.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,