Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: (formatter) indent after infix lhs (#6331)
# Description ## Problem Resolves #4980 ## Summary In reality the new formatter didn't crash anymore, it just formatted this: ```noir fn foo() { let x = 1 // one + 2 // two + 3; // three } ``` like this: ```noir fn foo() { let x = 1 // one + 2 // two + 3; // three } ``` but making it look like the first snippet was easy, so here's that PR :-) ## Additional Context ## Documentation Check one: - [x] No documentation needed. - [ ] Documentation included in this PR. - [ ] **[For Experimental Features]** Documentation to be submitted in a separate PR. # PR Checklist - [x] I have tested the changes locally. - [x] I have formatted the changes with [Prettier](https://prettier.io/) and/or `cargo fmt` on default settings.
- Loading branch information