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
use #[non_exhaustive] instead of Unknown #17
Comments
good idea. I will take care of it. |
the unknown should stay however, because it means i detect its CI env, but cant tell which. |
i'd argue that the |
ya, as lib consumer. but as provider i need to provide some value. |
oohhh i see. that makes sense! carry on 😄 |
Use non_exhaustive for Vendor enum #17
released. thanks a lot. |
Features Description
instead of having an
Unknown
variant fortypes::Vendor
, make it#[non_exhaustive]
so it's possible to add other variants over time without breaking changes for folks consuming this library.Current code Sample
Proposed code Sample
The text was updated successfully, but these errors were encountered: