diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-11-21 20:01:07 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-21 20:01:07 +0000 |
| commit | 183ef048f61ae36aa389d1d0345cde940fe788e9 (patch) | |
| tree | 9b07668a01107a6e080752f93d7e0ea4c30c8a1d /src/test/codegen/src-hash-algorithm | |
| parent | 4566414789310acb2617543f4b50beab4bb48e06 (diff) | |
| parent | 24f816c4815b02327c31574685bf80e78d2b9743 (diff) | |
| download | rust-183ef048f61ae36aa389d1d0345cde940fe788e9.tar.gz rust-183ef048f61ae36aa389d1d0345cde940fe788e9.zip | |
Merge #10823
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 <alexveber@gmail.com>
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
