3 ms·Both for_each() and collect() into a Vec exhaust the iterator.by proto_lambda 3y agoBoth for_each() and collect() into a Vec exhaust the iterator.