Function shrimple_parser::parse_char

source ยท
pub fn parse_char<'input>(ch: char) -> impl Parser<'input, char>
Expand description

Strips exactly 1 character ch from the input. Returns ch or a recoverable error. See also parse_any_char