Update src/librustdoc/html/static/main.js
Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
This commit is contained in:
parent
3f70bfa79c
commit
b76a3d3592
1 changed files with 1 additions and 1 deletions
|
@ -856,7 +856,7 @@ function defocusSearchBar() {
|
|||
// We need to find the type that matches the most to remove it in order
|
||||
// to move forward.
|
||||
var vlength = val.generics.length;
|
||||
for (var x = 0; x < vlength; ++x) {
|
||||
for (x = 0; x < vlength; ++x) {
|
||||
var lev = MAX_LEV_DISTANCE + 1;
|
||||
var firstGeneric = getObjectNameFromId(val.generics[x]);
|
||||
var match = undefined;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue