Use iterators instead of loops in `clock.rs` (#13561)

This should be slightly faster and makes the code easier to read.

Release Notes:

- N/A
6986ac4c27Gilles Peiffer committed on 6/27/2024, 6:30:21 AM· committed by GitHubparentd50d161
1 file changedLine totals unavailable