Rollup merge of #118325 - clubby789:rustdoc-search-link, r=fmease

Fix Rustdoc search docs link

This link has been outdated since #112725 moved the search docs to their own page
This commit is contained in:
Matthias Krüger 2023-11-27 08:21:19 +01:00 committed by GitHub
commit 828db2860f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1318,8 +1318,7 @@ function preLoadCss(cssUrl) {
const infos = [ const infos = [
`For a full list of all search features, take a look <a \ `For a full list of all search features, take a look <a \
href="https://doc.rust-lang.org/${channel}/rustdoc/how-to-read-rustdoc.html\ href="https://doc.rust-lang.org/${channel}/rustdoc/read-documentation/search.html">here</a>.`,
#the-search-interface">here</a>.`,
"Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to \ "Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to \
restrict the search to a given item kind.", restrict the search to a given item kind.",
"Accepted kinds are: <code>fn</code>, <code>mod</code>, <code>struct</code>, \ "Accepted kinds are: <code>fn</code>, <code>mod</code>, <code>struct</code>, \