Skip to content

Commit 6cf7ebc

Browse files
committed
Fix
1 parent 6d3ecf4 commit 6cf7ebc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"use strict";
66

77

8-
(function() {
8+
(function () {
99
let rawSearchIndex;
1010
let docSearch;
1111
const longItemTypes = [
@@ -601,7 +601,7 @@ ${item.displayPath}<span class="${type}">${name}</span>\
601601
if (typeof window !== "undefined") {
602602
docSearch = new window.DocSearch(rawSearchIndex);
603603
} else if (typeof exports !== "undefined") {
604-
exports.docSearch = new exports.DocSearch(rawSearchIndex);
604+
exports.docSearch = new DocSearch(rawSearchIndex);
605605
}
606606
}
607607

0 commit comments

Comments
 (0)