@@ -2550,25 +2550,25 @@ fn render_impl(w: &mut fmt::Formatter, cx: &Context, i: &Impl, link: AssocItemLi
25502550 }
25512551 }
25522552 clean:: TypedefItem ( ref tydef, _) => {
2553- let id = derive_id ( format ! ( "assoc_type .{}" , name) ) ;
2553+ let id = derive_id ( format ! ( "associatedtype .{}" , name) ) ;
25542554 try!( write ! ( w, "<h4 id='{}' class='{}'><code>" , id, shortty( item) ) ) ;
25552555 try!( write ! ( w, "type {} = {}" , name, tydef. type_) ) ;
25562556 try!( write ! ( w, "</code></h4>\n " ) ) ;
25572557 }
25582558 clean:: AssociatedConstItem ( ref ty, ref default) => {
2559- let id = derive_id ( format ! ( "assoc_const .{}" , name) ) ;
2559+ let id = derive_id ( format ! ( "associatedconstant .{}" , name) ) ;
25602560 try!( write ! ( w, "<h4 id='{}' class='{}'><code>" , id, shortty( item) ) ) ;
25612561 try!( assoc_const ( w, item, ty, default. as_ref ( ) ) ) ;
25622562 try!( write ! ( w, "</code></h4>\n " ) ) ;
25632563 }
25642564 clean:: ConstantItem ( ref c) => {
2565- let id = derive_id ( format ! ( "assoc_const .{}" , name) ) ;
2565+ let id = derive_id ( format ! ( "associatedconstant .{}" , name) ) ;
25662566 try!( write ! ( w, "<h4 id='{}' class='{}'><code>" , id, shortty( item) ) ) ;
25672567 try!( assoc_const ( w, item, & c. type_ , Some ( & c. expr ) ) ) ;
25682568 try!( write ! ( w, "</code></h4>\n " ) ) ;
25692569 }
25702570 clean:: AssociatedTypeItem ( ref bounds, ref default) => {
2571- let id = derive_id ( format ! ( "assoc_type .{}" , name) ) ;
2571+ let id = derive_id ( format ! ( "associatedtype .{}" , name) ) ;
25722572 try!( write ! ( w, "<h4 id='{}' class='{}'><code>" , id, shortty( item) ) ) ;
25732573 try!( assoc_type ( w, item, bounds, default) ) ;
25742574 try!( write ! ( w, "</code></h4>\n " ) ) ;
0 commit comments