# std.fmt: non-exhaustive enums: avoid the loop when it's not necessary · gitcafe/zig

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

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

Visibility: public

Requested revision: 62fefe864840e4d2c8bf4d6ad5509bcac141e7c3

Requested commit: 62fefe864840e4d2c8bf4d6ad5509bcac141e7c3

Commit: 62fefe864840e4d2c8bf4d6ad5509bcac141e7c3

Tree: 6987bc1c7b9be6d30c8edf1b01aced6a86143968

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.fmt: non-exhaustive enums: avoid the loop when it's not necessary

```

## Parents

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

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