diff --git a/src/librustdoc/html/render.rs b/src/librustdoc/html/render.rs index 60178e6e7a4e0..5c2ec2058ee9d 100644 --- a/src/librustdoc/html/render.rs +++ b/src/librustdoc/html/render.rs @@ -4452,8 +4452,7 @@ fn item_primitive(w: &mut fmt::Formatter, cx: &Context, fn item_keyword(w: &mut fmt::Formatter, cx: &Context, it: &clean::Item, _p: &str) -> fmt::Result { - document(w, cx, it)?; - render_assoc_items(w, cx, it, it.def_id, AssocItemRender::All) + document(w, cx, it) } const BASIC_KEYWORDS: &'static str = "rust, rustlang, rust-lang";