diff --git a/src/librustdoc/html/render.rs b/src/librustdoc/html/render.rs index 368c056f021..2ccad08e03d 100644 --- a/src/librustdoc/html/render.rs +++ b/src/librustdoc/html/render.rs @@ -2678,7 +2678,6 @@ fn item_function(w: &mut fmt::Formatter, cx: &Context, it: &clean::Item, fn render_implementor(cx: &Context, implementor: &Impl, w: &mut fmt::Formatter, implementor_dups: &FxHashMap<&str, (DefId, bool)>) -> fmt::Result { - write!(w, "
")?;
// If there's already another implementor that has the same abbridged name, use the
// full path, for example in `std::iter::ExactSizeIterator`
let use_absolute = match implementor.inner_impl().for_ {
@@ -2689,22 +2688,8 @@ fn render_implementor(cx: &Context, implementor: &Impl, w: &mut fmt::Formatter,
} => implementor_dups[path.last_name()].1,
_ => false,
};
- fmt_impl_for_trait_page(&implementor.inner_impl(), w, use_absolute)?;
- for it in &implementor.inner_impl().items {
- if let clean::TypedefItem(ref tydef, _) = it.inner {
- write!(w, " ")?;
- assoc_type(w, it, &[], Some(&tydef.type_), AssocItemLink::Anchor(None))?;
- write!(w, ";")?;
- }
- }
- write!(w, " | ")?;
- if let Some(l) = (Item { cx, item: &implementor.impl_item }).src_href() {
- write!(w, " ")?;
- write!(w, "[src]",
- l, "goto source code")?;
- write!(w, " ")?;
- }
- writeln!(w, " |