Skip to content

Commit 2f3bed0

Browse files
Add link to rustdoc book search chapter in help popover
1 parent fe37f37 commit 2f3bed0

File tree

1 file changed

+3
-0
lines changed
  • src/librustdoc/html/static/js

1 file changed

+3
-0
lines changed

src/librustdoc/html/static/js/main.js

+3
Original file line numberDiff line numberDiff line change
@@ -1072,6 +1072,9 @@ function preLoadCss(cssUrl) {
10721072
div_shortcuts.innerHTML = "<h2>Keyboard Shortcuts</h2><dl>" + shortcuts + "</dl></div>";
10731073

10741074
const infos = [
1075+
"For a full list of all search features, take a look <a \
1076+
href='https://doc.rust-lang.org/stable/rustdoc/how-to-read-rustdoc.html\
1077+
#the-search-interface'>here</a>.",
10751078
"Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to \
10761079
restrict the search to a given item kind.",
10771080
"Accepted kinds are: <code>fn</code>, <code>mod</code>, <code>struct</code>, \

0 commit comments

Comments
 (0)