# std: Fix endless loop in fmt impl · gitcafe/zig

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

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

Visibility: public

Requested revision: 51be575745adfe21a5367f206c156f2d589ad436

Requested commit: 51be575745adfe21a5367f206c156f2d589ad436

Commit: 51be575745adfe21a5367f206c156f2d589ad436

Tree: a888b7e8eb55a0c91c7686ef5b0570c8085bc11d

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
std: Fix endless loop in fmt impl

Apparently there's a stage1 bug that may sometimes lead to an endless
loop being generated when unrolling the fmt impl.

Closes #9961

```

## Parents

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

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