@@ -119,7 +119,7 @@ impl Clean<GenericBound> for hir::GenericBound<'_> {
119119
120120impl Clean < Path > for ( ty:: TraitRef < ' _ > , & [ TypeBinding ] ) {
121121 fn clean ( & self , cx : & mut DocContext < ' _ > ) -> Path {
122- let ( trait_ref, bounds ) = * self ;
122+ let ( trait_ref, bindings ) = * self ;
123123 let kind = cx. tcx . def_kind ( trait_ref. def_id ) . into ( ) ;
124124 if !matches ! ( kind, ItemType :: Trait | ItemType :: TraitAlias ) {
125125 span_bug ! (
@@ -129,7 +129,7 @@ impl Clean<Path> for (ty::TraitRef<'_>, &[TypeBinding]) {
129129 ) ;
130130 }
131131 inline:: record_extern_fqn ( cx, trait_ref. def_id , kind) ;
132- let path = external_path ( cx, trait_ref. def_id , true , bounds . to_vec ( ) , trait_ref. substs ) ;
132+ let path = external_path ( cx, trait_ref. def_id , true , bindings . to_vec ( ) , trait_ref. substs ) ;
133133
134134 debug ! ( "ty::TraitRef\n subst: {:?}\n " , trait_ref. substs) ;
135135
@@ -145,7 +145,7 @@ impl Clean<Path> for ty::TraitRef<'tcx> {
145145
146146impl Clean < GenericBound > for ( ty:: PolyTraitRef < ' _ > , & [ TypeBinding ] ) {
147147 fn clean ( & self , cx : & mut DocContext < ' _ > ) -> GenericBound {
148- let ( poly_trait_ref, bounds ) = * self ;
148+ let ( poly_trait_ref, bindings ) = * self ;
149149 let poly_trait_ref = poly_trait_ref. lift_to_tcx ( cx. tcx ) . unwrap ( ) ;
150150
151151 // collect any late bound regions
@@ -164,7 +164,7 @@ impl Clean<GenericBound> for (ty::PolyTraitRef<'_>, &[TypeBinding]) {
164164
165165 GenericBound :: TraitBound (
166166 PolyTrait {
167- trait_ : ( poly_trait_ref. skip_binder ( ) , bounds ) . clean ( cx) ,
167+ trait_ : ( poly_trait_ref. skip_binder ( ) , bindings ) . clean ( cx) ,
168168 generic_params : late_bound_regions,
169169 } ,
170170 hir:: TraitBoundModifier :: None ,
0 commit comments