mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-25 02:49:25 +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`.