Skip to content

Mark public enums non-exhaustive #136

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions