fn parse_2_digits(ascii: &[u8]) -> Option<u8> {
    if ascii.len() == 2 {
        if let (Some(b0), Some(b1)) = (digit(ascii[0]), digit(ascii[1])) {
            return Some(b0 * 10 + b1);
        }
    }
    None
}
/// Parse a 2-digit ASCII decimal number
Parse a 2-digit ASCII decimal number
Parse a 2 - digit ASCII decimal number
fn parse_2_digits(ascii: &[u8]) -> Option<u8> {
    if ascii.len() == 2 {
        if let (Some(b0), Some(b1)) = (digit(ascii[0]), digit(ascii[1])) {
            return Some(b0 * 10 + b1);
        }
    }
    None
}
fn parse_2_digits ( ascii : & [ u8 ] ) -> Option < u8 > { if ascii . len ( ) == 2 { if let ( Some ( b0 ) , Some ( b1 ) ) = ( digit ( ascii [ 0 ] ) , digit ( ascii [ 1 ] ) ) { return Some ( b0 * 10 + b1 ) ; } } None }
Parse a 2-digit ASCII decimal number
Parse a 2 - digit ASCII decimal number
ascii
&[u8]