rustdoc-search: fix fast path unboxing bindings

This commit is contained in:
Michael Howell 2023-12-10 20:53:53 -07:00
parent 92b84f849a
commit 7162cb9550
2 changed files with 12 additions and 1 deletions

View file

@ -1433,7 +1433,7 @@ function initSearch(rawSearchIndex) {
return true;
}
} else if (unifyFunctionTypes(
fnType.generics,
[...fnType.generics, ...Array.from(fnType.bindings.values()).flat() ],
queryElems,
whereClause,
mgens ? new Map(mgens) : null,