mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 11:07:42 +00:00
give local mgens a type
This commit is contained in:
parent
9581f1935b
commit
4f6772d2ac
@ -2834,7 +2834,7 @@ class DocSearch {
|
|||||||
}
|
}
|
||||||
let fnInputs = null;
|
let fnInputs = null;
|
||||||
let fnOutput = null;
|
let fnOutput = null;
|
||||||
// @ts-expect-error
|
/** @type {Map<number, number> | null} */
|
||||||
let mgens = null;
|
let mgens = null;
|
||||||
if (typeInfo !== "elems" && typeInfo !== "returned") {
|
if (typeInfo !== "elems" && typeInfo !== "returned") {
|
||||||
fnInputs = unifyFunctionTypes(
|
fnInputs = unifyFunctionTypes(
|
||||||
@ -3047,7 +3047,6 @@ class DocSearch {
|
|||||||
writeFn(nested, result);
|
writeFn(nested, result);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
// @ts-expect-error
|
|
||||||
} else if (mgens) {
|
} else if (mgens) {
|
||||||
for (const [queryId, fnId] of mgens) {
|
for (const [queryId, fnId] of mgens) {
|
||||||
if (fnId === fnType.id) {
|
if (fnId === fnType.id) {
|
||||||
|
Loading…
Reference in New Issue
Block a user