# ErrorBundle: remove extra newline · gitcafe/zig

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

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

Visibility: public

Requested revision: b5a471db3cd9c041c091cd81eff37d73847a391e

Requested commit: b5a471db3cd9c041c091cd81eff37d73847a391e

Commit: b5a471db3cd9c041c091cd81eff37d73847a391e

Tree: 50693f7160fde0661280027a2db496acac04a1b6

Author: Wooster

Committer: Andrew Kelley

## Message

```
ErrorBundle: remove extra newline

This is another minor change but still makes a visual difference and will reduce the amount you have to scroll in your terminal by a little bit.

Reasoning:
1. The `for (0..src.data.reference_trace_len)` loop will run at least once due to the `src.data.reference_trace_len > 0` check above.
2. In all 3 branches of the `if` in that `for` it will print something.
3. The 3 strings of all of those prints already end in `\n`.
Therefore, the extra `try stderr.writeByte('\n');` is unnecessary.
```

## Parents

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

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