]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/html/static/main.js
fix rustdoc JS
[rust.git] / src / librustdoc / html / static / main.js
index d6c05de0df6f2039988acecd7b28a88cd519dd27..877ac9a62bbec67bd62275bd7b9d13709c4a199e 100644 (file)
@@ -2026,7 +2026,7 @@ if (!DOMTokenList.prototype.remove) {
             } else if (action === "hide") {
                 addClass(relatedDoc, "fns-now-collapsed");
                 addClass(docblock, "hidden-by-usual-hider");
-                onEachLazy(toggle.childNodes, adjustToggle(true, dontApplyBlockRule);
+                onEachLazy(toggle.childNodes, adjustToggle(true, dontApplyBlockRule));
                 onEachLazy(relatedDoc.childNodes, implHider(true, dontApplyBlockRule));
             }
         }