File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1205,7 +1205,7 @@ impl Clean<Item> for ty::AssocItem {
12051205 || generics
12061206 . params
12071207 . iter ( )
1208- . zip ( & args[ .. ] )
1208+ . zip ( args. iter ( ) )
12091209 . any ( |( param, arg) | !param_eq_arg ( param, arg) )
12101210 {
12111211 return false ;
Original file line number Diff line number Diff line change @@ -457,7 +457,7 @@ impl clean::GenericArgs {
457457 f. write_str ( "<" ) ?;
458458 }
459459 let mut comma = false ;
460- for arg in & args[ .. ] {
460+ for arg in args. iter ( ) {
461461 if comma {
462462 f. write_str ( ", " ) ?;
463463 }
@@ -468,7 +468,7 @@ impl clean::GenericArgs {
468468 write ! ( f, "{}" , arg. print( cx) ) ?;
469469 }
470470 }
471- for binding in & bindings[ .. ] {
471+ for binding in bindings. iter ( ) {
472472 if comma {
473473 f. write_str ( ", " ) ?;
474474 }
@@ -489,7 +489,7 @@ impl clean::GenericArgs {
489489 clean:: GenericArgs :: Parenthesized { inputs, output } => {
490490 f. write_str ( "(" ) ?;
491491 let mut comma = false ;
492- for ty in & inputs[ .. ] {
492+ for ty in inputs. iter ( ) {
493493 if comma {
494494 f. write_str ( ", " ) ?;
495495 }
You can’t perform that action at this time.
0 commit comments