mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 17:18:32 +03:00
Remove useless collapse toggle on "all items" page
This commit is contained in:
@@ -312,14 +312,6 @@ fn print_entries(f: &mut Buffer, e: &FxHashSet<ItemEntry>, title: &str, class: &
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user