Function monch::if_not_empty
source · pub fn if_not_empty<'a, R: IsEmptyable>(
combinator: impl Fn(&'a str) -> ParseResult<'a, R>
) -> impl Fn(&'a str) -> ParseResult<'a, R>Expand description
Checks if the combinator result is not empty.