File tree 1 file changed +2
-2
lines changed
src/librustdoc/html/static/js
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3990,7 +3990,7 @@ class DocSearch {
3990
3990
}
3991
3991
const fnTypeBindings = fnType . bindings . get ( name ) ;
3992
3992
mgensSolutionSet = mgensSolutionSet . flatMap ( mgens => {
3993
- // @ts -expect-error
3993
+ /** @type { Array<Map<number, number> | null> } */
3994
3994
const newSolutions = [ ] ;
3995
3995
unifyFunctionTypes (
3996
3996
// @ts -expect-error
@@ -4006,7 +4006,6 @@ class DocSearch {
4006
4006
} ,
4007
4007
unboxingDepth ,
4008
4008
) ;
4009
- // @ts -expect-error
4010
4009
return newSolutions ;
4011
4010
} ) ;
4012
4011
}
@@ -4254,6 +4253,7 @@ class DocSearch {
4254
4253
return false ;
4255
4254
}
4256
4255
4256
+ // this does not yet have a type in `rustdoc.d.ts`.
4257
4257
// @ts -expect-error
4258
4258
function createAliasFromItem ( item ) {
4259
4259
return {
You can’t perform that action at this time.
0 commit comments