File tree 2 files changed +4
-4
lines changed
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 {
1205
1205
|| generics
1206
1206
. params
1207
1207
. iter ( )
1208
- . zip ( & args[ .. ] )
1208
+ . zip ( args. iter ( ) )
1209
1209
. any ( |( param, arg) | !param_eq_arg ( param, arg) )
1210
1210
{
1211
1211
return false ;
Original file line number Diff line number Diff line change @@ -457,7 +457,7 @@ impl clean::GenericArgs {
457
457
f. write_str ( "<" ) ?;
458
458
}
459
459
let mut comma = false ;
460
- for arg in & args[ .. ] {
460
+ for arg in args. iter ( ) {
461
461
if comma {
462
462
f. write_str ( ", " ) ?;
463
463
}
@@ -468,7 +468,7 @@ impl clean::GenericArgs {
468
468
write ! ( f, "{}" , arg. print( cx) ) ?;
469
469
}
470
470
}
471
- for binding in & bindings[ .. ] {
471
+ for binding in bindings. iter ( ) {
472
472
if comma {
473
473
f. write_str ( ", " ) ?;
474
474
}
@@ -489,7 +489,7 @@ impl clean::GenericArgs {
489
489
clean:: GenericArgs :: Parenthesized { inputs, output } => {
490
490
f. write_str ( "(" ) ?;
491
491
let mut comma = false ;
492
- for ty in & inputs[ .. ] {
492
+ for ty in inputs. iter ( ) {
493
493
if comma {
494
494
f. write_str ( ", " ) ?;
495
495
}
You can’t perform that action at this time.
0 commit comments