ra_ap_rustc_lexer::unescape

Function 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.