Skip to content

Commit 36290c2

Browse files
committed
revert to satisfy tester.js
1 parent a012e21 commit 36290c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4455,7 +4455,8 @@ class DocSearch {
44554455
}
44564456

44574457
results.max_dist = Math.max(results.max_dist || 0, tfpDist);
4458-
addIntoResults(results, row.id, pos, 0, tfpDist, 0, Number.MAX_VALUE);
4458+
// @ts-expect-error
4459+
addIntoResults(results, row.id.toString(), pos, 0, tfpDist, 0, Number.MAX_VALUE);
44594460
}
44604461

44614462
/**

0 commit comments

Comments
 (0)