Skip to content

Commit 603e01b

Browse files
authored
variable was invalid
1 parent 9e58ffa commit 603e01b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/static/js/search.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4922,7 +4922,7 @@ ${item.displayPath}<span class="${type}">${name}</span>\
49224922
const docsrsURL = `https://docs.rs/releases/search?query=${encodeURIComponent(query.userQuery)}`;
49234923
const duckduckgoURL = `https://duckduckgo.com/?q=${encodeURIComponent("rust " + query.userQuery)}`;
49244924
output.className = "search-failed" + extraClass;
4925-
output.innerHTML = `No results in <code>${getVar("crate")}</code> :(<br/>` +
4925+
output.innerHTML = `No results in <code>${getVar("current-crate")}</code> :(<br/>` +
49264926
`Search for <a href="${docsrsURL}">other crates</a>?<br/>` +
49274927
`Or try on <a href="${duckduckgoURL}">DuckDuckGo</a>?<br/><br/>` +
49284928
"Or try looking in one of these:<ul><li>The <a " +

0 commit comments

Comments
 (0)