Add link to rustdoc book search chapter in help popover

This commit is contained in:
Guillaume Gomez 2023-06-17 13:58:27 +02:00
parent fe37f37e4b
commit 2f3bed0c4c

View File

@ -1072,6 +1072,9 @@ function preLoadCss(cssUrl) {
div_shortcuts.innerHTML = "<h2>Keyboard Shortcuts</h2><dl>" + shortcuts + "</dl></div>";
const infos = [
"For a full list of all search features, take a look <a \
href='https://doc.rust-lang.org/stable/rustdoc/how-to-read-rustdoc.html\
#the-search-interface'>here</a>.",
"Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to \
restrict the search to a given item kind.",
"Accepted kinds are: <code>fn</code>, <code>mod</code>, <code>struct</code>, \