Skip to content

Commit abe0299

Browse files
fix: use proper fields to get where clause
Co-authored-by: Michael Howell <[email protected]>
1 parent 377880b commit abe0299

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/static/js/search.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2731,7 +2731,7 @@ class DocSearch {
27312731
continue;
27322732
}
27332733
const inputs = result.item.type.inputs;
2734-
const where_clause = result.item.where_clause;
2734+
const where_clause = result.item.type.where_clause;
27352735
if (containsTypeFromQuery(inputs, where_clause)) {
27362736
result.path_dist *= 100;
27372737
result.dist *= 100;

0 commit comments

Comments
 (0)