mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 01:05:39 +03:00
42dbc72d7b
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`.