fn eat_digits(s: &[u8]) -> (&[u8], &[u8]) {
    let mut i = 0;
    while i < s.len() && b'0' <= s[i] && s[i] <= b'9' {
        i += 1;
    }
    (&s[..i], &s[i..])
}
/// Carve off decimal digits up to the first non-digit character.
Carve off decimal digits up to the first non-digit character.
Carve off decimal digits up to the first non - digit character .
fn eat_digits(s: &[u8]) -> (&[u8], &[u8]) {
    let mut i = 0;
    while i < s.len() && b'0' <= s[i] && s[i] <= b'9' {
        i += 1;
    }
    (&s[..i], &s[i..])
}
fn eat_digits ( s : & [ u8 ] ) -> ( & [ u8 ] , & [ u8 ] ) { let mut i = 0 ; while i < s . len ( ) && b'0' <= s [ i ] && s [ i ] <= b'9' { i += 1 ; } ( & s [ .. i ] , & s [ i .. ] ) }
Carve off decimal digits up to the first non-digit character.
Carve off decimal digits up to the first non - digit character .
s
&[u8]
s
&[u8]