Function rustc_ap_rustc_lexer::unescape::unescape_byte[][src]

pub fn unescape_byte(literal_text: &str) -> Result<u8, (usize, EscapeError)>
Expand description

Takes a contents of a byte literal (without quotes), and returns an unescaped byte or an error.