@@ -2550,25 +2550,25 @@ fn render_impl(w: &mut fmt::Formatter, cx: &Context, i: &Impl, link: AssocItemLi
2550
2550
}
2551
2551
}
2552
2552
clean:: TypedefItem ( ref tydef, _) => {
2553
- let id = derive_id ( format ! ( "assoc_type .{}" , name) ) ;
2553
+ let id = derive_id ( format ! ( "associatedtype .{}" , name) ) ;
2554
2554
try!( write ! ( w, "<h4 id='{}' class='{}'><code>" , id, shortty( item) ) ) ;
2555
2555
try!( write ! ( w, "type {} = {}" , name, tydef. type_) ) ;
2556
2556
try!( write ! ( w, "</code></h4>\n " ) ) ;
2557
2557
}
2558
2558
clean:: AssociatedConstItem ( ref ty, ref default) => {
2559
- let id = derive_id ( format ! ( "assoc_const .{}" , name) ) ;
2559
+ let id = derive_id ( format ! ( "associatedconstant .{}" , name) ) ;
2560
2560
try!( write ! ( w, "<h4 id='{}' class='{}'><code>" , id, shortty( item) ) ) ;
2561
2561
try!( assoc_const ( w, item, ty, default. as_ref ( ) ) ) ;
2562
2562
try!( write ! ( w, "</code></h4>\n " ) ) ;
2563
2563
}
2564
2564
clean:: ConstantItem ( ref c) => {
2565
- let id = derive_id ( format ! ( "assoc_const .{}" , name) ) ;
2565
+ let id = derive_id ( format ! ( "associatedconstant .{}" , name) ) ;
2566
2566
try!( write ! ( w, "<h4 id='{}' class='{}'><code>" , id, shortty( item) ) ) ;
2567
2567
try!( assoc_const ( w, item, & c. type_ , Some ( & c. expr ) ) ) ;
2568
2568
try!( write ! ( w, "</code></h4>\n " ) ) ;
2569
2569
}
2570
2570
clean:: AssociatedTypeItem ( ref bounds, ref default) => {
2571
- let id = derive_id ( format ! ( "assoc_type .{}" , name) ) ;
2571
+ let id = derive_id ( format ! ( "associatedtype .{}" , name) ) ;
2572
2572
try!( write ! ( w, "<h4 id='{}' class='{}'><code>" , id, shortty( item) ) ) ;
2573
2573
try!( assoc_type ( w, item, bounds, default) ) ;
2574
2574
try!( write ! ( w, "</code></h4>\n " ) ) ;
0 commit comments