1
Fork 0

rustdoc-search: null, not -1, for missing id

This allows us to use negative numbers for others purposes.
This commit is contained in:
Michael Howell 2023-06-15 13:55:45 -07:00
parent 2a1af898b2
commit 217fe24e52
2 changed files with 14 additions and 14 deletions

View file

@ -9,7 +9,7 @@ function initSearch(searchIndex){}
/**
* @typedef {{
* name: string,
* id: integer,
* id: integer|null,
* fullPath: Array<string>,
* pathWithoutLast: Array<string>,
* pathLast: string,