Hacker News new | past | comments | ask | show | jobs | submit login
Idiomatic Rust – Thinking in Iterators (corrode.dev)
3 points by praseodym 5 months ago | hide | past | favorite | 1 comment



What's amazing is the ability to collect iterators into both: a Vec<Result<T>> and also a Result<Vec<T>> depending on what you really want to achieve.




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

Search: