Function rustc_middle::mir::pretty::hex_number_length
source · [−]Expand description
Calc converted u64 decimal into hex and return it’s length in chars
ⓘ
assert_eq!(1, hex_number_length(0));
assert_eq!(1, hex_number_length(1));
assert_eq!(2, hex_number_length(16));