Function rustc_lexer::unescape::unescape_char
source · 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