# std: Safety check for iterate\(\) · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/e15605e1c1f28e06035a6740619295151195dabb)

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

Visibility: public

Requested revision: e15605e1c1f28e06035a6740619295151195dabb

Requested commit: e15605e1c1f28e06035a6740619295151195dabb

Commit: e15605e1c1f28e06035a6740619295151195dabb

Tree: 509c20a421f00f663da4f52e5503e260905bfa85

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
std: Safety check for iterate()

Calling iterate() on a Dir object returned by openDirTraverse is always
an error.

```

## Parents

- [4843c3b4c386008418ff8ab7238feebab3711352](https://git.cafe/gitcafe/zig/commit/4843c3b4c386008418ff8ab7238feebab3711352?format=markdown)

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