File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/librustdoc/html/static Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1836,7 +1836,7 @@ function defocusSearchBar() {
1836
1836
function buildIndex ( rawSearchIndex ) {
1837
1837
searchIndex = [ ] ;
1838
1838
var searchWords = [ ] ;
1839
- var i ;
1839
+ var i , word ;
1840
1840
var currentIndex = 0 ;
1841
1841
var id = 0 ;
1842
1842
@@ -1905,10 +1905,10 @@ function defocusSearchBar() {
1905
1905
// This object should have exactly the same set of fields as the "crateRow"
1906
1906
// object defined above.
1907
1907
if ( typeof itemNames [ i ] === "string" ) {
1908
- var word = itemNames [ i ] . toLowerCase ( ) ;
1908
+ word = itemNames [ i ] . toLowerCase ( ) ;
1909
1909
searchWords . push ( word ) ;
1910
1910
} else {
1911
- var word = "" ;
1911
+ word = "" ;
1912
1912
searchWords . push ( "" ) ;
1913
1913
}
1914
1914
var normalizedName = word . indexOf ( "_" ) === - 1
You can’t perform that action at this time.
0 commit comments