Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
10823: fix: better `Fn` traits formatting r=jonas-schievink a=veber-alex This makes it so formatting `Fn` traits properly handles: 1. An `Fn` trait with only a single argument -> removes the trailing comma. 2. An `Fn` trait which returns nothing (an empty tuple) -> don't show `-> ()` as the return type. before:  after:  Co-authored-by: Alex Veber <[email protected]>
- Loading branch information