rustdoc-search: use ES6 Map for Result
instead of Object
This commit is contained in:
parent
8642c96a33
commit
53f499d475
2 changed files with 40 additions and 21 deletions
|
@ -65,6 +65,11 @@ let Row;
|
|||
*/
|
||||
let ResultsTable;
|
||||
|
||||
/**
|
||||
* @typedef {Map<String, ResultObject>}
|
||||
*/
|
||||
let Results;
|
||||
|
||||
/**
|
||||
* @typedef {{
|
||||
* desc: string,
|
||||
|
@ -80,7 +85,7 @@ let ResultsTable;
|
|||
* ty: number,
|
||||
* }}
|
||||
*/
|
||||
let Results;
|
||||
let ResultObject;
|
||||
|
||||
/**
|
||||
* A pair of [inputs, outputs], or 0 for null. This is stored in the search index.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue