rustdoc-search: null
, not -1
, for missing id
This allows us to use negative numbers for others purposes.
This commit is contained in:
parent
2a1af898b2
commit
217fe24e52
2 changed files with 14 additions and 14 deletions
|
@ -9,7 +9,7 @@ function initSearch(searchIndex){}
|
|||
/**
|
||||
* @typedef {{
|
||||
* name: string,
|
||||
* id: integer,
|
||||
* id: integer|null,
|
||||
* fullPath: Array<string>,
|
||||
* pathWithoutLast: Array<string>,
|
||||
* pathLast: string,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue