1
0
Fork 0

Fix typo in buffer iterator

This commit is contained in:
Robbert van der Helm 2022-02-06 12:59:29 +01:00
parent c4b983baf8
commit 33ad2d0b15

View file

@ -133,7 +133,7 @@ impl<'outer, 'inner> Iterator for Channels<'outer, 'inner> {
}
fn size_hint(&self) -> (usize, Option<usize>) {
let remaining = self.buffers0.len() - self.current_channel;
let remaining = self.buffers.len() - self.current_channel;
(remaining, Some(remaining))
}
}