fn to_char(i: u8) -> char {
    (match i {
        0..=25 => b'a' + i,
        26..=35 => b'0' + (i - 26),
        _ => panic!("invalid digit"), // TODO
    }) as char
}
// to_char maps the digit-values to their lower-case unicode.
// The supplied value must be in the range 0 to BASE.
to_char maps the digit-values to their lower-case unicode.
The supplied value must be in the range 0 to BASE.
to_char maps the digit - values to their lower - case unicode . The supplied value must be in the range 0 to BASE .
fn to_char(i: u8) -> char {
    (match i {
        0..=25 => b'a' + i,
        26..=35 => b'0' + (i - 26),
        _ => panic!("invalid digit"), // TODO
    }) as char
}
fn to_char ( i : u8 ) -> char { ( match i { 0 ..= 25 => b'a' + i , 26 ..= 35 => b'0' + ( i - 26 ) , _ => panic ! ( " " ) , // TODO } ) as char }
to_char maps the digit-values to their lower-case unicode.
to_char maps the digit - values to their lower - case unicode .
i
u8