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

> let words_on_lines = text.lines().map(|line| line.split_whitespace());

But you still have to define line without autocomplete.



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

Search: