pub fn check_unique<'a, I, T>(sorted: I) -> Result<()>where T: 'a + PartialEq + Display, I: Iterator<Item = &'a T>,