Skip to content

Commit b76a3d3

Browse files
Update src/librustdoc/html/static/main.js
Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
1 parent 3f70bfa commit b76a3d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/static/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ function defocusSearchBar() {
856856
// We need to find the type that matches the most to remove it in order
857857
// to move forward.
858858
var vlength = val.generics.length;
859-
for (var x = 0; x < vlength; ++x) {
859+
for (x = 0; x < vlength; ++x) {
860860
var lev = MAX_LEV_DISTANCE + 1;
861861
var firstGeneric = getObjectNameFromId(val.generics[x]);
862862
var match = undefined;

0 commit comments

Comments
 (0)