File tree 1 file changed +3
-4
lines changed
src/librustdoc/html/static
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -1081,14 +1081,13 @@ function getSearchElement() {
1081
1081
val = paths [ paths . length - 1 ] ;
1082
1082
var contains = paths . slice ( 0 , paths . length > 1 ? paths . length - 1 : 1 ) ;
1083
1083
1084
+ var lev ;
1085
+ var lev_distance ;
1084
1086
for ( j = 0 ; j < nSearchWords ; ++ j ) {
1085
- var lev ;
1086
- var lev_distance ;
1087
1087
ty = searchIndex [ j ] ;
1088
1088
if ( ! ty || ( filterCrates !== undefined && ty . crate !== filterCrates ) ) {
1089
1089
continue ;
1090
1090
}
1091
- var lev_distance ;
1092
1091
var lev_add = 0 ;
1093
1092
if ( paths . length > 1 ) {
1094
1093
lev = checkPath ( contains , paths [ paths . length - 1 ] , ty ) ;
@@ -1633,7 +1632,7 @@ function getSearchElement() {
1633
1632
}
1634
1633
1635
1634
var filterCrates = getFilterCrates ( ) ;
1636
- showResults ( execSearch ( query , index , filterCrates ) , filterCrates ) ;
1635
+ showResults ( execSearch ( query , index , filterCrates ) ) ;
1637
1636
}
1638
1637
1639
1638
function buildIndex ( rawSearchIndex ) {
You can’t perform that action at this time.
0 commit comments