]> git.lizzy.rs Git - rust.git/commitdiff
Update src/librustdoc/html/static/main.js
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Mon, 9 Mar 2020 13:47:24 +0000 (14:47 +0100)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Mon, 16 Mar 2020 17:30:26 +0000 (18:30 +0100)
Fix variable name

Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
src/librustdoc/html/static/main.js

index fc07e9f8b033e45ff95e10b60cc933c15f511312..3f12fb893a440596248d307ab5970c4af663a6e2 100644 (file)
@@ -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;