Skip to content

Commit 5de21e4

Browse files
committed
revert to satisfy tester.js
1 parent d1b8a7a commit 5de21e4

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
@@ -4456,7 +4456,8 @@ class DocSearch {
44564456
}
44574457

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

44624463
/**

0 commit comments

Comments
 (0)