diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-01-09 13:38:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-09 13:38:34 +0100 |
| commit | e6aa48d3a7984ca928b8de65e544eab18b1605c2 (patch) | |
| tree | d13d4b6b75874a26ebbd38df90dca3e68b67f0bc | |
| parent | 0871a38adf22982ba7ed666867a0bfc3c36125e0 (diff) | |
| parent | 45a43debb6c87f7ef927dc6574440744a1a67ceb (diff) | |
| download | rust-e6aa48d3a7984ca928b8de65e544eab18b1605c2.tar.gz rust-e6aa48d3a7984ca928b8de65e544eab18b1605c2.zip | |
Rollup merge of #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:  After:  r? `@jsha`
| -rw-r--r-- | src/librustdoc/html/render/mod.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/librustdoc/html/render/mod.rs b/src/librustdoc/html/render/mod.rs index 16334890da6..7adf63f26f6 100644 --- a/src/librustdoc/html/render/mod.rs +++ b/src/librustdoc/html/render/mod.rs @@ -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\">−</span>]\ - </a>\ - </span> - </span> </h1>", ); // Note: print_entries does not escape the title, because we know the current set of titles |
