Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
leshow
7y ago
0 comments
Share
Tangentially, do you know why Rust never included an Either type? We have Result, which is great, but Either is useful for more things than errors (though that seems to be it's main use).
undefined | Better HN
0 comments
default
newest
oldest
steveklabnik
7y ago
We had it for a long time, as well as result, and literally no code used it, so we took it out.
There’s a crate on crates.io for it if you want to use it for something.
j
/
k
navigate · click thread line to collapse