We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d2d2a0 commit bc2a81cCopy full SHA for bc2a81c
src/source/zero.rs
@@ -52,7 +52,7 @@ impl Iterator for Zero {
52
fn next(&mut self) -> Option<Self::Item> {
53
if let Some(total_samples) = self.total_samples {
54
if self.position < total_samples {
55
- self.position = self.position + 1;
+ self.position += 1;
56
} else {
57
return None;
58
}
0 commit comments