Skip to content

Commit

Permalink
Update src/librustdoc/html/static/main.js
Browse files Browse the repository at this point in the history
Fix variable name

Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
  • Loading branch information
GuillaumeGomez and Centril committed Mar 12, 2020
1 parent cd31800 commit 85b6723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ function getSearchElement() {
if (typePassesFilter(typeFilter, tmp[1]) === false) {
continue;
}
tmp = checkType(r, val, literalSearch);
tmp = checkType(tmp, val, literalSearch);
if (literalSearch === true) {
if (tmp === true) {
return true;
Expand Down

0 comments on commit 85b6723

Please sign in to comment.