| ▲ | oddCopper65 4 hours ago | |
The enum-over-bool rule is the one I'd keep even solo, saved me a reversed flag in a cert validator once. | ||
| ▲ | sebastianconcpt 4 hours ago | parent [-] | |
This is a sub-case of the general one that is narrowing the interpretation of things. A big infinite amount of things can be true or false, only one can be a Rust variant. | ||