diff --git a/src/librustdoc/html/static/js/main.js b/src/librustdoc/html/static/js/main.js index 3ea9de381eca6..0c71cf1907d6c 100644 --- a/src/librustdoc/html/static/js/main.js +++ b/src/librustdoc/html/static/js/main.js @@ -265,7 +265,7 @@ function preLoadCss(cssUrl) { aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" - placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" + placeholder="Search API docs" type="search">
`; @@ -683,6 +683,7 @@ function preLoadCss(cssUrl) { break; case "+": + case "=": ev.preventDefault(); expandAllDocs(); break; @@ -1620,7 +1621,7 @@ function preLoadCss(cssUrl) { ["↓", "Move down in search results"], ["← / →", "Switch result tab (when results focused)"], ["⏎", "Go to active search result"], - ["+", "Expand all sections"], + ["+ / =", "Expand all sections"], ["-", "Collapse all sections"], // for the sake of brevity, we don't say "inherit impl blocks", // although that would be more correct,