diff --git a/src/librustdoc/html/render/mod.rs b/src/librustdoc/html/render/mod.rs
index 16334890da67..7adf63f26f60 100644
--- a/src/librustdoc/html/render/mod.rs
+++ b/src/librustdoc/html/render/mod.rs
@@ -312,14 +312,6 @@ fn print_entries(f: &mut Buffer, e: &FxHashSet, title: &str, class: &
f.write_str(
"\
List of all items\
- \
- \
- \
- [−]\
- \
-
-
",
);
// Note: print_entries does not escape the title, because we know the current set of titles