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 d492dc4 commit 97400fdCopy full SHA for 97400fd
src/tools/rustdoc-js/tester.js
@@ -470,7 +470,7 @@ function loadSearchJS(doc_folder, resource_suffix) {
470
};
471
472
const staticFiles = path.join(doc_folder, "static.files");
473
- const searchJs = mostRecentMatch(staticFiles, /search.*\.js$/);
+ const searchJs = mostRecentMatch(staticFiles, /search-[0-9a-f]{8}.*\.js$/);
474
const searchModule = require(path.join(staticFiles, searchJs));
475
searchModule.initSearch(searchIndex.searchIndex);
476
const docSearch = searchModule.docSearch;
0 commit comments