Function shrimple_parser::parse_exact

source ยท
pub fn parse_exact(prefix: &str) -> impl Parser<'_, &str>
Expand description

Strips exactly 1 string prefix from the input. Returns prefix or a recoverable error.