Implement FusedIterator marker trait for Parser
use std::cmp::{max, min};
use std::collections::{HashMap, VecDeque};
use std::ops::{Index, Range};
+use std::iter::FusedIterator;
use unicase::UniCase;
@@ -1432,6 +1433,8 @@ impl<'a> Iterator for Parser<'a> {
}
}
+impl<'a> FusedIterator for Parser<'a> {}
+
#[cfg(test)]
mod test {
use super::*;
