Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add non_exhaustive compiler directive to AddressType #1011

Merged
merged 1 commit into from Jun 2, 2022

Commits on Jun 2, 2022

  1. Add non_exhaustive compiler directive to AddressType

    Currently adding variants to enums is a breaking change. In an effort to
    reduce the upgrade burden on users we can use the `non_exhaustive`
    compiler directive so that adding a new variant does not cause
    downstream code to break.
    
    Add `non_exhaustive` to the `AddressType` since it may be extended in
    the future.
    tcharding committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    43b684b View commit details
    Browse the repository at this point in the history