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

Or just collect::<Vec<_>>() when you have up doing everything in a lazy pattern and want a concrete type again.

Which I guess i typical stumbling block when the compiler can’t infer what type to collect into.





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

Search: