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() {
18361836 function buildIndex ( rawSearchIndex ) {
18371837 searchIndex = [ ] ;
18381838 var searchWords = [ ] ;
1839- var i ;
1839+ var i , word ;
18401840 var currentIndex = 0 ;
18411841 var id = 0 ;
18421842
@@ -1905,10 +1905,10 @@ function defocusSearchBar() {
19051905 // This object should have exactly the same set of fields as the "crateRow"
19061906 // object defined above.
19071907 if ( typeof itemNames [ i ] === "string" ) {
1908- var word = itemNames [ i ] . toLowerCase ( ) ;
1908+ word = itemNames [ i ] . toLowerCase ( ) ;
19091909 searchWords . push ( word ) ;
19101910 } else {
1911- var word = "" ;
1911+ word = "" ;
19121912 searchWords . push ( "" ) ;
19131913 }
19141914 var normalizedName = word . indexOf ( "_" ) === - 1
You can’t perform that action at this time.
0 commit comments