@@ -208,15 +208,15 @@ impl clean::GenericParamDef {
208208 if f. alternate ( ) {
209209 write ! ( f, ": {:#}" , print_generic_bounds( bounds, cx) ) ?;
210210 } else {
211- write ! ( f, ": {}" , print_generic_bounds( bounds, cx) ) ?;
211+ write ! ( f, ": {}" , print_generic_bounds( bounds, cx) ) ?;
212212 }
213213 }
214214
215215 if let Some ( ref ty) = default {
216216 if f. alternate ( ) {
217217 write ! ( f, " = {:#}" , ty. print( cx) ) ?;
218218 } else {
219- write ! ( f, " = {}" , ty. print( cx) ) ?;
219+ write ! ( f, " = {}" , ty. print( cx) ) ?;
220220 }
221221 }
222222
@@ -226,14 +226,14 @@ impl clean::GenericParamDef {
226226 if f. alternate ( ) {
227227 write ! ( f, "const {}: {:#}" , self . name, ty. print( cx) ) ?;
228228 } else {
229- write ! ( f, "const {}: {}" , self . name, ty. print( cx) ) ?;
229+ write ! ( f, "const {}: {}" , self . name, ty. print( cx) ) ?;
230230 }
231231
232232 if let Some ( default) = default {
233233 if f. alternate ( ) {
234234 write ! ( f, " = {:#}" , default ) ?;
235235 } else {
236- write ! ( f, " = {}" , default ) ?;
236+ write ! ( f, " = {}" , default ) ?;
237237 }
238238 }
239239
@@ -354,12 +354,12 @@ pub(crate) fn print_where_clause<'a, 'tcx: 'a>(
354354 let mut br_with_padding = String :: with_capacity ( 6 * indent + 28 ) ;
355355 br_with_padding. push_str ( "<br>" ) ;
356356 for _ in 0 ..indent + 4 {
357- br_with_padding. push_str ( " " ) ;
357+ br_with_padding. push_str ( " " ) ;
358358 }
359359 let where_preds = where_preds. to_string ( ) . replace ( "<br>" , & br_with_padding) ;
360360
361361 if ending == Ending :: Newline {
362- let mut clause = " " . repeat ( indent. saturating_sub ( 1 ) ) ;
362+ let mut clause = " " . repeat ( indent. saturating_sub ( 1 ) ) ;
363363 write ! ( clause, "<span class=\" where fmt-newline\" >where{where_preds},</span>" ) ?;
364364 clause
365365 } else {
@@ -368,7 +368,7 @@ pub(crate) fn print_where_clause<'a, 'tcx: 'a>(
368368 format ! ( "<br><span class=\" where\" >where{where_preds}</span>" )
369369 } else {
370370 let mut clause = br_with_padding;
371- clause. truncate ( clause. len ( ) - 4 * " " . len ( ) ) ;
371+ clause. truncate ( clause. len ( ) - 4 ) ;
372372 write ! ( clause, "<span class=\" where\" >where{where_preds}</span>" ) ?;
373373 clause
374374 }
@@ -1391,8 +1391,8 @@ impl clean::FnDecl {
13911391
13921392 let declaration_len = header_len + args_plain. len ( ) + arrow_plain. len ( ) ;
13931393 let output = if declaration_len > 80 {
1394- let full_pad = format ! ( "<br>{}" , " " . repeat( indent + 4 ) ) ;
1395- let close_pad = format ! ( "<br>{}" , " " . repeat( indent) ) ;
1394+ let full_pad = format ! ( "<br>{}" , " " . repeat( indent + 4 ) ) ;
1395+ let close_pad = format ! ( "<br>{}" , " " . repeat( indent) ) ;
13961396 format ! (
13971397 "({pad}{args}{close}){arrow}" ,
13981398 pad = if self . inputs. values. is_empty( ) { "" } else { & full_pad } ,
@@ -1611,7 +1611,7 @@ impl clean::TypeBinding {
16111611 if f. alternate ( ) {
16121612 write ! ( f, ": {:#}" , print_generic_bounds( bounds, cx) ) ?;
16131613 } else {
1614- write ! ( f, ": {}" , print_generic_bounds( bounds, cx) ) ?;
1614+ write ! ( f, ": {}" , print_generic_bounds( bounds, cx) ) ?;
16151615 }
16161616 }
16171617 }
0 commit comments