Fix typo in buffer iterator
This commit is contained in:
parent
c4b983baf8
commit
33ad2d0b15
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ impl<'outer, 'inner> Iterator for Channels<'outer, 'inner> {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn size_hint(&self) -> (usize, Option<usize>) {
|
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))
|
(remaining, Some(remaining))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue