fn eos<'a, I: Iterator<Item = &'a str>>(iter: &mut I) -> Result<()>