From 40a22b6fc1a0d02d9584c162a2a8280b4d5e82c1 Mon Sep 17 00:00:00 2001 From: Maarten van Gompel Date: Mon, 3 Mar 2025 14:49:32 +0100 Subject: [PATCH] cleanup --- src/iterators.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/iterators.rs b/src/iterators.rs index 04c485c..4d1c701 100644 --- a/src/iterators.rs +++ b/src/iterators.rs @@ -25,10 +25,10 @@ pub struct DeletionIterator<'a> { } impl<'a> DeletionIterator<'a> { - pub fn new(value: &'a AnaValue, alphabet_size: CharIndexType) -> DeletionIterator { + pub fn new(value: &'a AnaValue, alphabet_size: CharIndexType) -> DeletionIterator<'a> { DeletionIterator { - value: value, - alphabet_size: alphabet_size, + value, + alphabet_size, iteration: 0, } }