mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 19:28:29 +00:00

It uses `once` chained with `(0..self.num_calls).map(...)` followed by `.take(self.num_calls`. I found this hard to read. It's simpler to just use `repeat_with`.