# std.fmt: add max_depth to avoid infinite recursion from self-references · gitcafe/zig

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

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

Visibility: public

Requested revision: 205e501e42b9a2e1d35afa0873311165100863ae

Requested commit: 205e501e42b9a2e1d35afa0873311165100863ae

Commit: 205e501e42b9a2e1d35afa0873311165100863ae

Tree: 99c684ac41ade859aa63a3e76c0b18f4f0b14e9e

Author: Ryan Liptak

Committer: Andrew Kelley

## Message

```
std.fmt: add max_depth to avoid infinite recursion from self-references

```

## Parents

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

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