@@ -2689,7 +2689,7 @@ fn render_implementor(cx: &Context, implementor: &Impl, w: &mut fmt::Formatter,
2689
2689
_ => false ,
2690
2690
} ;
2691
2691
render_impl ( w, cx, implementor, AssocItemLink :: Anchor ( None ) , RenderMode :: Normal ,
2692
- implementor. impl_item . stable_since ( ) , true , Some ( use_absolute) ) ?;
2692
+ implementor. impl_item . stable_since ( ) , false , Some ( use_absolute) ) ?;
2693
2693
Ok ( ( ) )
2694
2694
}
2695
2695
@@ -2892,14 +2892,14 @@ fn item_trait(
2892
2892
<h2 id='implementors' class='small-section-header'>\
2893
2893
Implementors<a href='#implementors' class='anchor'></a>\
2894
2894
</h2>\
2895
- <ul class='item-list' id='implementors-list'>\
2895
+ <div class='item-list' id='implementors-list'>\
2896
2896
";
2897
2897
2898
2898
let synthetic_impl_header = "\
2899
2899
<h2 id='synthetic-implementors' class='small-section-header'>\
2900
2900
Auto implementors<a href='#synthetic-implementors' class='anchor'></a>\
2901
2901
</h2>\
2902
- <ul class='item-list' id='synthetic-implementors-list'>\
2902
+ <div class='item-list' id='synthetic-implementors-list'>\
2903
2903
";
2904
2904
2905
2905
let mut synthetic_types = Vec :: new ( ) ;
@@ -3793,11 +3793,14 @@ fn render_impl(w: &mut fmt::Formatter, cx: &Context, i: &Impl, link: AssocItemLi
3793
3793
write ! ( w, "<h3 id='{}' class='impl'><span class='in-band'><table class='table-display'>\
3794
3794
<tbody><tr><td><code>", id) ?;
3795
3795
fmt_impl_for_trait_page ( & i. inner_impl ( ) , w, use_absolute) ?;
3796
- for it in & i. inner_impl ( ) . items {
3797
- if let clean:: TypedefItem ( ref tydef, _) = it. inner {
3798
- write ! ( w, "<span class=\" where fmt-newline\" > " ) ?;
3799
- assoc_type ( w, it, & vec ! [ ] , Some ( & tydef. type_ ) , AssocItemLink :: Anchor ( None ) ) ?;
3800
- write ! ( w, ";</span>" ) ?;
3796
+ if show_def_docs {
3797
+ for it in & i. inner_impl ( ) . items {
3798
+ if let clean:: TypedefItem ( ref tydef, _) = it. inner {
3799
+ write ! ( w, "<span class=\" where fmt-newline\" > " ) ?;
3800
+ assoc_type ( w, it, & vec ! [ ] , Some ( & tydef. type_ ) ,
3801
+ AssocItemLink :: Anchor ( None ) ) ?;
3802
+ write ! ( w, ";</span>" ) ?;
3803
+ }
3801
3804
}
3802
3805
}
3803
3806
write ! ( w, "</code>" ) ?;
@@ -3929,10 +3932,6 @@ fn render_impl(w: &mut fmt::Formatter, cx: &Context, i: &Impl, link: AssocItemLi
3929
3932
let traits = & cache ( ) . traits ;
3930
3933
let trait_ = i. trait_did ( ) . map ( |did| & traits[ & did] ) ;
3931
3934
3932
- if !show_def_docs {
3933
- write ! ( w, "<span class='docblock autohide'>" ) ?;
3934
- }
3935
-
3936
3935
write ! ( w, "<div class='impl-items'>" ) ?;
3937
3936
for trait_item in & i. inner_impl ( ) . items {
3938
3937
doc_impl_item ( w, cx, trait_item, link, render_mode,
@@ -3968,10 +3967,6 @@ fn render_impl(w: &mut fmt::Formatter, cx: &Context, i: &Impl, link: AssocItemLi
3968
3967
}
3969
3968
write ! ( w, "</div>" ) ?;
3970
3969
3971
- if !show_def_docs {
3972
- write ! ( w, "</span>" ) ?;
3973
- }
3974
-
3975
3970
Ok ( ( ) )
3976
3971
}
3977
3972
0 commit comments