Skip to content

Commit bc2a81c

Browse files
committed
refactor: clippy fix
1 parent 5d2d2a0 commit bc2a81c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/source/zero.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ impl Iterator for Zero {
5252
fn next(&mut self) -> Option<Self::Item> {
5353
if let Some(total_samples) = self.total_samples {
5454
if self.position < total_samples {
55-
self.position = self.position + 1;
55+
self.position += 1;
5656
} else {
5757
return None;
5858
}

0 commit comments

Comments
 (0)