Skip to content

Commit b6cfcd3

Browse files
authored
Fix default value for setting "Auto-hide item methods' documentation"
1 parent 938d4ff commit b6cfcd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/static/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2105,7 +2105,7 @@ if (!DOMTokenList.prototype.remove) {
21052105
}
21062106

21072107
var toggle = createSimpleToggle(false);
2108-
var hideMethodDocs = getCurrentValue("rustdoc-method-docs") !== "false";
2108+
var hideMethodDocs = getCurrentValue("rustdoc-method-docs") === "true";
21092109
var pageId = getPageId();
21102110

21112111
var func = function(e) {

0 commit comments

Comments
 (0)