pub const fn digit_char_to_superscript(d: char) -> Result<char, NotADigit>
Converts a digit character to its superscript form.