3 ms·
> let words_on_lines = text.lines().map(|line| line.split_whitespace()); But you still have to define line without autocomplete.
by nromiun 1y ago
> let words_on_lines = text.lines().map(|line| line.split_whitespace());
But you still have to define line without autocomplete.