We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d3ecf4 commit 6cf7ebcCopy full SHA for 6cf7ebc
src/librustdoc/html/static/js/search.js
@@ -5,7 +5,7 @@
5
"use strict";
6
7
8
-(function() {
+(function () {
9
let rawSearchIndex;
10
let docSearch;
11
const longItemTypes = [
@@ -601,7 +601,7 @@ ${item.displayPath}<span class="${type}">${name}</span>\
601
if (typeof window !== "undefined") {
602
docSearch = new window.DocSearch(rawSearchIndex);
603
} else if (typeof exports !== "undefined") {
604
- exports.docSearch = new exports.DocSearch(rawSearchIndex);
+ exports.docSearch = new DocSearch(rawSearchIndex);
605
}
606
607
0 commit comments