Function rustc_lexer::unescape::unescape_char
source · pub fn unescape_char(src: &str) -> Result<char, EscapeError>
Expand description
Takes a contents of a char literal (without quotes), and returns an unescaped char or an error.