We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9a5e937 + ca4296d commit b7287e9Copy full SHA for b7287e9
src/librustdoc/html/static/js/search.js
@@ -587,11 +587,8 @@ window.initSearch = function(rawSearchIndex) {
587
}
588
589
function typePassesFilter(filter, type) {
590
- // No filter
591
- if (filter <= NO_TYPE_FILTER) return true;
592
-
593
- // Exact match
594
- if (filter === type) return true;
+ // No filter or Exact mach
+ if (filter <= NO_TYPE_FILTER || filter === type) return true;
595
596
// Match related items
597
var name = itemTypes[type];
0 commit comments