Hacker News new | past | comments | ask | show | jobs | submit login

Can you not use the question mark operator inside the .map() callback to return a Result, something like this answer?

https://stackoverflow.com/a/26370894/49485

(Not a Rust expert.)






This is exactly what I was missing... thank you!



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

Search: