]> git.lizzy.rs Git - rust.git/commitdiff
Fix default value for setting "Auto-hide item methods' documentation"
authorDmitry Murzin <diraria@yandex.ru>
Sun, 28 Apr 2019 01:25:22 +0000 (04:25 +0300)
committerGitHub <noreply@github.com>
Sun, 28 Apr 2019 01:25:22 +0000 (04:25 +0300)
src/librustdoc/html/static/main.js

index 00ca78b749e9d9c4098ec78cda02ebfd125c015b..85ab0855f05e9511de9bbead3d194429f9b37c00 100644 (file)
@@ -2105,7 +2105,7 @@ if (!DOMTokenList.prototype.remove) {
     }
 
     var toggle = createSimpleToggle(false);
-    var hideMethodDocs = getCurrentValue("rustdoc-method-docs") !== "false";
+    var hideMethodDocs = getCurrentValue("rustdoc-method-docs") === "true";
     var pageId = getPageId();
 
     var func = function(e) {