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 9581f19 commit 4f6772dCopy full SHA for 4f6772d
src/librustdoc/html/static/js/search.js
@@ -2834,7 +2834,7 @@ class DocSearch {
2834
}
2835
let fnInputs = null;
2836
let fnOutput = null;
2837
- // @ts-expect-error
+ /** @type {Map<number, number> | null} */
2838
let mgens = null;
2839
if (typeInfo !== "elems" && typeInfo !== "returned") {
2840
fnInputs = unifyFunctionTypes(
@@ -3047,7 +3047,6 @@ class DocSearch {
3047
writeFn(nested, result);
3048
3049
return;
3050
3051
} else if (mgens) {
3052
for (const [queryId, fnId] of mgens) {
3053
if (fnId === fnType.id) {
0 commit comments