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 16, 2020
1 parent d964e60 commit 496256c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/main.js
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 496256c

Please sign in to comment.