-
Notifications
You must be signed in to change notification settings - Fork 996
Closed
Labels
E-help-wantedCall for participation: help is requested to fix this issueCall for participation: help is requested to fix this issueI-poor-formattingIssue: poor formattingIssue: poor formattingonly-with-optionRequires a non-default option value to reproduceRequires a non-default option value to reproduce
Description
Currently on 1.4.37-nightly (dfc5add 2021-10-13), with version = "Two" and all other options left at default, this:
pub type Iter<'a, D> = impl DoubleEndedIterator<Item = (SomethingSomethingSomethingLongType<D>)> + ExactSizeIterator + 'a;
is formatted to:
pub type Iter<'a, D> = impl DoubleEndedIterator<Item = (SomethingSomethingSomethingLongType<D>)>
+ ExactSizeIterator
+ 'a;...whereas on stable, the same code is formatted to the more familiar and (subjectively) more pleasing:
pub type Iter<'a, D> = impl DoubleEndedIterator<Item = (SomethingSomethingSomethingLongType<D>)>
+ ExactSizeIterator
+ 'a;...with block indentation for the broken lines.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
E-help-wantedCall for participation: help is requested to fix this issueCall for participation: help is requested to fix this issueI-poor-formattingIssue: poor formattingIssue: poor formattingonly-with-optionRequires a non-default option value to reproduceRequires a non-default option value to reproduce