3 ms·
Right but some enums are designed to allow new types to be added. For example suppose you add another image format to the `image` library: https://docs.rs/ima
by IshKebab 7y ago
Right but some enums are designed to allow new types to be added.
For example suppose you add another image format to the `image` library:
https://docs.rs/image/0.23.0-preview.0/image/enum.ImageFormat.html https://docs.rs/image/0.23.0-preview.0/image/enum.ImageForma...
What's more annoying - a major version bump every time you support a new format, or not being able to exhaustively match on all 10 formats?
- deleted 7y ago[deleted]