correctly format multiline record type annotation

This commit is contained in:
Sébastien Besnier 2020-11-18 15:19:35 +01:00
parent f9666d6efe
commit c692319fb9
5 changed files with 68 additions and 54 deletions

View file

@ -925,7 +925,7 @@ fn format_field_multiline<'a, T>(
// ```
// field # comment
// , otherfield
// ```
// ```
// we'd like to transform it into:
// ```
// field,