We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2f5d8bc + 8f6d05b commit a62a203Copy full SHA for a62a203
src/librustdoc/html/static/main.js
@@ -1597,7 +1597,7 @@ if (!DOMTokenList.prototype.remove) {
1597
clearTimeout(searchTimeout);
1598
if (search_input.value.length === 0) {
1599
if (browserSupportsHistoryApi()) {
1600
- history.replaceState("", "std - Rust", "?search=");
+ history.replaceState("", window.currentCrate + " - Rust", "?search=");
1601
}
1602
if (hasClass(main, "content")) {
1603
removeClass(main, "hidden");
0 commit comments