diff options
Diffstat (limited to 'src/storage/video_database/extractor_hash.rs')
-rw-r--r-- | src/storage/video_database/extractor_hash.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/storage/video_database/extractor_hash.rs b/src/storage/video_database/extractor_hash.rs index 09ca2ea..62a9eda 100644 --- a/src/storage/video_database/extractor_hash.rs +++ b/src/storage/video_database/extractor_hash.rs @@ -90,7 +90,6 @@ impl ExtractorHash { self.hash() .to_hex() .chars() - .into_iter() .take(needed_chars) .collect::<String>(), )) @@ -102,7 +101,7 @@ impl ExtractorHash { let needed_chars = s.0.len(); for hash in all_hashes { - if &hash.to_hex()[..needed_chars] == s.0 { + if hash.to_hex()[..needed_chars] == s.0 { return Ok(hash); } } |