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

Hmm... Shouldn't iterators be turned to streams?

Like this:

    fut = v.into_iter().map(|file| file.close()).into_future();


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

Search: