Function lexical_util::digit::digit_to_char

source ·
pub fn digit_to_char(digit: u32) -> u8
Expand description

Convert a digit to a character. This uses a pre-computed table to avoid branching.

§Panics

Panics if digit >= 36.