Function rustc_ap_rustc_lexer::unescape::unescape_char [−][src]
pub fn unescape_char(literal_text: &str) -> Result<char, (usize, EscapeError)>
Expand description
Takes a contents of a char literal (without quotes), and returns an unescaped char or an error