-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
I tried to have an Enum that has variants that have no content. (in your terminology Unit)
#[derive(FromPest, Debug, Clone)]
#[pest_ast(rule(Rule::Formula))]
pub enum Formula {
True,
False,
}
I looked at the existing code and did not understand how it should work.
I have a commit that solves the issue for me.
Are you interested in a PR?
Metadata
Metadata
Assignees
Labels
No labels