@@ -1050,9 +1050,10 @@ function preLoadCss(cssUrl) {
10501050
10511051 function buildHelpMenu ( ) {
10521052 const book_info = document . createElement ( "span" ) ;
1053+ const channel = getVar ( "channel" ) ;
10531054 book_info . className = "top" ;
1054- book_info . innerHTML = " You can find more information in \
1055- <a href=\ "https://doc.rust-lang.org/rustdoc/\ ">the rustdoc book</a>." ;
1055+ book_info . innerHTML = ` You can find more information in \
1056+ <a href="https://doc.rust-lang.org/${ channel } / rustdoc/">the rustdoc book</a>.` ;
10561057
10571058 const shortcuts = [
10581059 [ "?" , "Show this help dialog" ] ,
@@ -1072,9 +1073,9 @@ function preLoadCss(cssUrl) {
10721073 div_shortcuts . innerHTML = "<h2>Keyboard Shortcuts</h2><dl>" + shortcuts + "</dl></div>" ;
10731074
10741075 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>." ,
1076+ ` For a full list of all search features, take a look <a \
1077+ href=" https://doc.rust-lang.org/${ channel } /rustdoc/how-to-read-rustdoc.html\
1078+ #the-search-interface" >here</a>.` ,
10781079 "Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to \
10791080 restrict the search to a given item kind." ,
10801081 "Accepted kinds are: <code>fn</code>, <code>mod</code>, <code>struct</code>, \
0 commit comments