# zig fmt: Respect trailing commas in error set declarations · gitcafe/zig

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

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

Visibility: public

Requested revision: 11a4ce42c16c17422cd272f154c9c33231bcc61a

Requested commit: 11a4ce42c16c17422cd272f154c9c33231bcc61a

Commit: 11a4ce42c16c17422cd272f154c9c33231bcc61a

Tree: 7947d3da28ca685619fc46248634003b4331cb3f

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
zig fmt: Respect trailing commas in error set declarations

The logic is not perfect as it doesn't take into account the presence of
doc comments, but it's an improvement over the status quo.

```

## Parents

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

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