fn find_digits_end(remainder: &str) -> usize {
        let mut digits_end = 0;

        for (pos, c) in remainder.char_indices() {
            if c.is_ascii_digit() {
                digits_end = pos + 1;
            } else {
                break;
            }
        }

        digits_end
    }
// Helper for finding the end of a sequence of digits from the start of the remainder.
Helper for finding the end of a sequence of digits from the start of the remainder.
Helper for finding the end of a sequence of digits from the start of the remainder .
fn find_digits_end(remainder: &str) -> usize {
        let mut digits_end = 0;
        for (pos, c) in remainder.char_indices() {
            if c.is_ascii_digit() {
                digits_end = pos + 1;
            } else {
                break;
            }
        }
        digits_end
    }
fn find_digits_end ( remainder : & str ) -> usize { let mut digits_end = 0 ; for ( pos , c ) in remainder . char_indices ( ) { if c . is_ascii_digit ( ) { digits_end = pos + 1 ; } else { break ; } } digits_end }
Helper for finding the end of a sequence of digits from the start of the remainder.
Helper for finding the end of a sequence of digits from the start of the remainder .
remainder
&str
remainder
&str