# zig fmt: fix comments ending with EOF after decls · gitcafe/zig

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

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

Visibility: public

Requested revision: f3ee10b4547bf5f03a4728b0d48b22bad6c9a5b1

Requested commit: f3ee10b4547bf5f03a4728b0d48b22bad6c9a5b1

Commit: f3ee10b4547bf5f03a4728b0d48b22bad6c9a5b1

Tree: 9c69673212de2f57f5dddee0a15abe4c140c2ea1

Author: Isaac Freund

Committer: Isaac Freund

## Message

```
zig fmt: fix comments ending with EOF after decls

Achieve this by reducing the amount of special casing to handle EOF so
that the already correct logic for normal comments does not need to be
duplicated.

```

## Parents

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

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