Re:Rust for Web
by EugeneOZ on Sunday January 31, 2016 @11:37AM
(#11006878)
Oops, it's exactly what I need. Thank you very much, I'll strike out this text in article.
[ Parent
| on HN ]
Re:Rust for Web
by oconnor663 on Sunday January 31, 2016 @01:55PM
(#11007464)
The Result type also has a bunch of methods like `map` and `and_then` that you can use to write code against only the success case. Take a look at https://doc.rust-lang.org/std/result/enum.Result.html