4 ms·
I think the new operator works only with Result. Had it been for Option also, it would have been awesome.
by sudeepj 10y ago
I think the new operator works only with Result. Had it been for Option also, it would have been awesome.
- steveklabnik 10y agoIt can be extended for Option in the future, we're just not sure that we're doing it yet. (I personally am opposed, but I suspect I'm in the minority.)
- imtringued 10y agoWrite a function to turn Option into a Result.