3 ms·
> 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.
by sapiogram 3y 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.