Poor formatting of newline return types in existing tests
Open
@ayazhafiz is already working on this.
Since Aug 8, 2020.
C-bug
- Dominant language
- Rust
- Stars
- 7k
- Forks
- 1.1k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 24
Description
A number of our existing tests (targeting rustfmt on master) have poor formatting of return types that don't align with the changes made in #4368:
I think these should be fixed to use return type indentation, a formatting regression fixed in #4368. These tests appear to have been added after that regression.
@topecongiro @calebcartwright if this sounds reasonable, feel free to assign me to this issue, I have some ideas of how to fix this and simplify the monolith function that handles function signature formatting (at least w.r.t. return types).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.