Skip to content

Commit 5973005

Browse files
committed
rustdoc-search: use correct type annotations
1 parent 5c7e7df commit 5973005

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustdoc/html/static/js/externs.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ function initSearch(searchIndex){}
99
/**
1010
* @typedef {{
1111
* name: string,
12-
* id: integer|null,
12+
* id: number|null,
1313
* fullPath: Array<string>,
1414
* pathWithoutLast: Array<string>,
1515
* pathLast: string,
1616
* generics: Array<QueryElement>,
17-
* bindings: Map<integer, Array<QueryElement>>,
17+
* bindings: Map<number, Array<QueryElement>>,
1818
* }}
1919
*/
2020
let QueryElement;

0 commit comments

Comments
 (0)