Function syntax::parse::char_litExperimental
[-]
[+]
[src]
pub fn char_lit(lit: &str) -> (char, int)
Parse a string representing a character literal into its final form. Rather than just accepting/rejecting a given literal, unescapes it as well. Can take any slice prefixed by a character escape. Returns the character and the number of characters consumed.