diff --git a/src/input.rs b/src/input.rs index 6f6dd17..5c8ecf4 100644 --- a/src/input.rs +++ b/src/input.rs @@ -49,7 +49,7 @@ impl Iterator for EventsAndRaw { type Item = Result<(Event, Vec), io::Error>; fn next(&mut self) -> Option), io::Error>> { - let mut source = &mut self.source; + let source = &mut self.source; if let Some(c) = self.leftover { // we have a leftover byte, use it