1
Fork 0

Unify inherent impl blocks by wrapping them into a div

This commit is contained in:
Guillaume Gomez 2022-03-08 17:40:24 +01:00
parent a64180f67f
commit a5216cf67d
4 changed files with 13 additions and 8 deletions

View file

@ -741,7 +741,7 @@ function hideThemeButtonState() {
} else {
addClass(innerToggle, "will-expand");
onEachLazy(document.getElementsByClassName("rustdoc-toggle"), function(e) {
if (e.parentNode.id !== MAIN_ID ||
if (e.parentNode.id !== "implementations-list" ||
(!hasClass(e, "implementors-toggle") &&
!hasClass(e, "type-contents-toggle")))
{