Closed Kijewski closed 2 months ago
It's an anti-pattern to arbitrarily import enum variant, because it hides typos (SpellingErrr => {} will still work), renamed and removed variants.
SpellingErrr => {}
Disagree that it's always an anti-pattern (and I think clippy lints against the bad cases), but these changes seem fine.
It's an anti-pattern to arbitrarily import enum variant, because it hides typos (
SpellingErrr => {}
will still work), renamed and removed variants.