We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72c7b70 commit ef3127dCopy full SHA for ef3127d
src/librustdoc/html/static/main.js
@@ -1925,7 +1925,8 @@ function defocusSearchBar() {
1925
clearInputTimeout();
1926
if (search_input.value.length === 0) {
1927
if (browserSupportsHistoryApi()) {
1928
- history.replaceState("", window.currentCrate + " - Rust", "?search=");
+ history.replaceState("", window.currentCrate + " - Rust",
1929
+ window.location.href.split("?")[0]);
1930
}
1931
hideSearchResults();
1932
} else {
0 commit comments