Re:Announcing Rust 1.13
by sudeepj on Thursday November 10, 2016 @10:42PM
(#12927494)
I think the new operator works only with Result. Had it been for Option also, it would have been awesome.
[ Parent
| on HN ]
Re:Announcing Rust 1.13
by steveklabnik on Friday November 11, 2016 @12:13AM
(#12928117)
It 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.)
Re:Announcing Rust 1.13
by imtringued on Friday November 11, 2016 @02:23AM
(#12928690)
Write a function to turn Option into a Result.