Y
Hacker News
new
|
ask
|
show
|
jobs
by
IshKebab
1544 days ago
Yeah this would definitely be useful in Rust. It isn't in Rust currently because enum variants aren't distinct types, but that's definitely on the to-do list. I suspect Rust will get this eventually.