|
|
|
|
|
by mieubrisse
1591 days ago
|
|
That's a fair concern: if everything is strict, then there's no option to incrementally roll out a new value. Maybe a proper enum type could always have an `Unknown` value, which would allow for the leniency while still forcing the use to think about (and handle) it at compile time? |
|
https://doc.rust-lang.org/reference/attributes/type_system.h...