Skip to content

Commit

Permalink
Remove useless collapse toggle on "all items" page
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Jan 8, 2022
1 parent 03360be commit 45a43de
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/librustdoc/html/render/mod.rs
Expand Up @@ -312,14 +312,6 @@ impl AllTypes {
f.write_str(
"<h1 class=\"fqn\">\
<span class=\"in-band\">List of all items</span>\
<span class=\"out-of-band\">\
<span id=\"render-detail\">\
<a id=\"toggle-all-docs\" href=\"javascript:void(0)\" \
title=\"collapse all docs\">\
[<span class=\"inner\">&#x2212;</span>]\
</a>\
</span>
</span>
</h1>",
);
// Note: print_entries does not escape the title, because we know the current set of titles
Expand Down

0 comments on commit 45a43de

Please sign in to comment.