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

> However, this solution is not very ergonomic, as it requires the user of the function to first check if the returned value is Some(iterator) and only then iterate over the iterator.

I'd use `flatten()` to iterate over this nested type.



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

Search: