Skip to content

Mark public enums non-exhaustive #136

@tgross35

Description

@tgross35

Fail, Occur, and ParsingStyle could all have legitimate reasons to gain options in the future, so for 0.3 we should mark them #[non_exhaustive].

It may also be worth doing some renaming to make things more consistent with the rest of the ecosystem:

  • Fail -> Error
  • Occur::Req -> Required
  • Occur::Multi -> Occur::ZeroOrMore

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions