about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-01-04 23:39:52 +0100
committerGitHub <noreply@github.com>2023-01-04 23:39:52 +0100
commit06b2df4706123061ee94cbe6e80f1aa2ae05f360 (patch)
tree54455673925e656a4dbca9f55ee84008b577ef2e
parent3df7cd9553497691b4f5c760b50a785ad9285319 (diff)
parent854082c2189a2b71b661dbe5ac6917c5190bac57 (diff)
downloadrust-06b2df4706123061ee94cbe6e80f1aa2ae05f360.tar.gz
rust-06b2df4706123061ee94cbe6e80f1aa2ae05f360.zip
Rollup merge of #106461 - notriddle:notriddle/window-searchstate-focus, r=GuillaumeGomez
docs: fix broken link "search bar"

Regression introduced by #84150
-rw-r--r--library/std/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs
index 13dfd41abbf..6575cc71b05 100644
--- a/library/std/src/lib.rs
+++ b/library/std/src/lib.rs
@@ -14,7 +14,7 @@
 //! # How to read this documentation
 //!
 //! If you already know the name of what you are looking for, the fastest way to
-//! find it is to use the <a href="#" onclick="focusSearchBar();">search
+//! find it is to use the <a href="#" onclick="window.searchState.focus();">search
 //! bar</a> at the top of the page.
 //!
 //! Otherwise, you may want to jump to one of these useful sections: