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

Mark MappingTarget as #[non_exhaustive] for increased semver flexibility #2012

Merged
merged 1 commit into from
Jan 4, 2022

Commits on Jan 2, 2022

  1. Mark MappingTarget as #[non_exhaustive] for increased semver flex…

    …ibility
    
    This will allow us to add new enum variants in the future without breaking
    semver compatibility. See
    https://doc.rust-lang.org/reference/attributes/type_system.html#the-non_exhaustive-attribute
    
    Since we already added an enum variant since v0.18.3, now is a good time to mark
    it as `#[non_exhaustive]`.
    Enselic committed Jan 2, 2022
    Configuration menu
    Copy the full SHA
    abc02c0 View commit details
    Browse the repository at this point in the history