]> git.lizzy.rs Git - rust.git/commitdiff
docs: fix broken link "search bar"
authorMichael Howell <michael@notriddle.com>
Wed, 4 Jan 2023 19:47:24 +0000 (12:47 -0700)
committerMichael Howell <michael@notriddle.com>
Wed, 4 Jan 2023 19:47:24 +0000 (12:47 -0700)
library/std/src/lib.rs

index 13dfd41abbf84ddd42b8d17dd138dd2beb3c367d..6575cc71b051429cd6ac4a0c46c5d0628a96b219 100644 (file)
@@ -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: