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.
1 parent 451e98e commit 7b62d28Copy full SHA for 7b62d28
src/librustdoc/html/static/search.js
@@ -801,7 +801,8 @@ window.initSearch = function(rawSearchIndex) {
801
results_returned[fullId].lev =
802
Math.min(results_returned[fullId].lev, returned);
803
}
804
- if (index !== -1 || lev <= MAX_LEV_DISTANCE) {
+ if (typePassesFilter(typeFilter, ty.ty) &&
805
+ (index !== -1 || lev <= MAX_LEV_DISTANCE)) {
806
if (index !== -1 && paths.length < 2) {
807
lev = 0;
808
0 commit comments