Function chomp::parse_only_str
[−]
[src]
pub fn parse_only_str<'a, T, E, F>(
parser: F,
input: &'a str
) -> Result<T, (&'a str, E)> where
F: FnOnce(&'a str) -> ParseResult<&'a str, T, E>,
Runs the given parser on the supplied string.