fn expect_non_empty(i: &str) -> std::result::Result<(), nom::Err<VerboseError<&str>>> {
        if i.is_empty() {
            Err(nom::Err::Error(ParseError::from_error_kind(
                i,
                ErrorKind::LengthValue,
            )))
        } else {
            Ok(())
        }
    }
/// Returns Error when string is Empty
Returns Error when string is Empty
Returns Error when string is Empty
fn expect_non_empty(i: &str) -> std::result::Result<(), nom::Err<VerboseError<&str>>> {
        if i.is_empty() {
            Err(nom::Err::Error(ParseError::from_error_kind(
                i,
                ErrorKind::LengthValue,
            )))
        } else {
            Ok(())
        }
    }
fn expect_non_empty ( i : & str ) -> std :: result :: Result < ( ) , nom :: Err < VerboseError < & str > > > { if i . is_empty ( ) { Err ( nom :: Err :: Error ( ParseError :: from_error_kind ( i , ErrorKind :: LengthValue , ) ) ) } else { Ok ( ( ) ) } }
Returns Error when string is Empty
Returns Error when string is Empty
i
&str
i
&str