fn parse_version_id<'a, I>(v: &mut I) -> Result<Option<u16>, ()>
where
    I: Iterator<Item = &'a str>,
{
    match v.next() {
        Some(s) if s.len() == 4 => match u16::from_str_radix(s, 16) {
            Ok(i) => Ok(Some(i)),
            _ => Err(()),
        },
        Some(_) => Err(()),
        _ => Ok(None),
    }
}
/// Parse a version ID value.
Parse a version ID value.
Parse a version ID value .
fn parse_version_id<'a, I>(v: &mut I) -> Result<Option<u16>, ()>
where
    I: Iterator<Item = &'a str>,
{
    match v.next() {
        Some(s) if s.len() == 4 => match u16::from_str_radix(s, 16) {
            Ok(i) => Ok(Some(i)),
            _ => Err(()),
        },
        Some(_) => Err(()),
        _ => Ok(None),
    }
}
fn parse_version_id < ' a , I > ( v : & mut I ) -> Result < Option < u16 > , ( ) > where I : Iterator < Item = & ' a str > , { match v . next ( ) { Some ( s ) if s . len ( ) == 4 => match u16 :: from_str_radix ( s , 16 ) { Ok ( i ) => Ok ( Some ( i ) ) , _ => Err ( ( ) ) , } , Some ( _ ) => Err ( ( ) ) , _ => Ok ( None ) , } }
Parse a version ID value.
Parse a version ID value .
v
&mut I