# Use iterators instead of loops in \`clock.rs\` \(\#13561\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/6986ac4c27b043ae387abcd95fd3201236e24096)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 6986ac4c27b043ae387abcd95fd3201236e24096

Requested commit: 6986ac4c27b043ae387abcd95fd3201236e24096

Commit: 6986ac4c27b043ae387abcd95fd3201236e24096

Tree: 2be9b49167d46f0d633cd32473130ac21bb8106d

Author: Gilles Peiffer

Committer: GitHub

## Message

```
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
```

## Parents

- [d50d1611b91481008fbfb9d3b15886a3aa0956bb](https://git.cafe/gitcafe/zed/commit/d50d1611b91481008fbfb9d3b15886a3aa0956bb?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/6986ac4c27b043ae387abcd95fd3201236e24096?format=markdown)
