File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ pub enum DefinitiveListTactic {
160
160
Vertical ,
161
161
Horizontal ,
162
162
Mixed ,
163
- // Special case tactic for `format!()`, `write!()` style macros.
163
+ /// Special case tactic for `format!()`, `write!()` style macros.
164
164
SpecialMacro ( bool , bool , usize ) ,
165
165
}
166
166
@@ -325,13 +325,10 @@ where
325
325
result. push ( '\n' ) ;
326
326
result. push_str ( indent_str) ;
327
327
}
328
- } else if i == num_args_before {
328
+ } else if i <= num_args_before + 1 {
329
329
result. push ( '\n' ) ;
330
330
result. push_str ( indent_str) ;
331
- } else if i == num_args_before + 1 {
332
- result. push ( '\n' ) ;
333
- result. push_str ( indent_str) ;
334
- } else if i > num_args_before + 1 {
331
+ } else {
335
332
if one_line_after {
336
333
result. push ( ' ' ) ;
337
334
} else {
You can’t perform that action at this time.
0 commit comments