@riffraff I think clippy just wants you to avoid you using indexing. You can mix for loops with iterators. So for example use `for value in numbers.iter().take(wanted) {` instead of the range. Which also makes the calculation of `end` easier to understand.
Tamme Dittrich
@tamme@fosstodon.org