pub fn unescape_byte(src: &str) -> Result<u8, EscapeError>
Expand description
Takes a contents of a byte literal (without quotes), and returns an unescaped byte or an error.
pub fn unescape_byte(src: &str) -> Result<u8, EscapeError>
Takes a contents of a byte literal (without quotes), and returns an unescaped byte or an error.