Hacker News new | ask | show | jobs
by sapiogram 998 days ago
> Rust's where each variant is its own type.

Is this... right? You can't use enum variants as types in function signatures, variable declarations, etc.