# Fix broken rustfmt in git graph code \(\#54730\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/b0342595918504643352dd8f5c62711c676f67bf)

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

Visibility: public

Requested revision: b0342595918504643352dd8f5c62711c676f67bf

Requested commit: b0342595918504643352dd8f5c62711c676f67bf

Commit: b0342595918504643352dd8f5c62711c676f67bf

Tree: f4762448db8fecbfc1a6896eabafabd6e79d3d7c

Author: Joseph T\. Lyons

Committer: GitHub

## Message

```
Fix broken rustfmt in git graph code (#54730)

rustfmt is broken in this code. I believe it's too deep / complex in the
builder pattern. After factoring some bits out, it now auto formats.

Self-Review Checklist:

- [X] I've reviewed my own diff for quality, security, and reliability
- [X] Unsafe blocks (if any) have justifying comments
- [X] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [ ] Tests cover the new/changed behavior
- [X] Performance impact has been considered and is acceptable

Closes #ISSUE

Release Notes:

- N/A
```

## Parents

- [250e697ff728535985958f09557e2bad83bcd2c0](https://git.cafe/gitcafe/zed/commit/250e697ff728535985958f09557e2bad83bcd2c0?format=markdown)

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