Skip to content

Commit

Permalink
Fix default value for setting "Auto-hide item methods' documentation"
Browse files Browse the repository at this point in the history
  • Loading branch information
dima74 authored Apr 28, 2019
1 parent 938d4ff commit b6cfcd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b6cfcd3

Please sign in to comment.