Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

They do, `map` and `and_then`.

As for the article, I'm also a bit confused because I'm really not sure whether people write that sort of code at the beginning "very commonly" - match and `ok_or` to handle None by turning them into proper Errors is one of the first things you learn in Rust.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: