Skip to content

Commit e6aa48d

Browse files
authored
Rollup merge of rust-lang#92673 - GuillaumeGomez:remove-all-items-toggle, r=jsha
Remove useless collapse toggle on "all items" page When clicking on this toggle, nothing happens because there is nothing to collapse. Instead of keeping it around, let's just remove it. Before: ![Screenshot from 2022-01-08 16-02-38](https://user-images.githubusercontent.com/3050060/148649149-821a1e77-8c34-4975-b50a-984ca8865518.png) After: ![Screenshot from 2022-01-08 16-02-32](https://user-images.githubusercontent.com/3050060/148649154-b5912a97-9229-46bd-be3c-df3c3fa3ac8f.png) r? `@jsha`
2 parents 0871a38 + 45a43de commit e6aa48d

File tree

1 file changed

+0
-8
lines changed
  • src/librustdoc/html/render

1 file changed

+0
-8
lines changed

src/librustdoc/html/render/mod.rs

-8
Original file line numberDiff line numberDiff line change
@@ -312,14 +312,6 @@ impl AllTypes {
312312
f.write_str(
313313
"<h1 class=\"fqn\">\
314314
<span class=\"in-band\">List of all items</span>\
315-
<span class=\"out-of-band\">\
316-
<span id=\"render-detail\">\
317-
<a id=\"toggle-all-docs\" href=\"javascript:void(0)\" \
318-
title=\"collapse all docs\">\
319-
[<span class=\"inner\">&#x2212;</span>]\
320-
</a>\
321-
</span>
322-
</span>
323315
</h1>",
324316
);
325317
// Note: print_entries does not escape the title, because we know the current set of titles

0 commit comments

Comments
 (0)