rustdoc: sort deprecated items lower in search
serialize `q` (`itemPaths`) sparsely overall 4% reduction in search index size
This commit is contained in:
parent
6c991b0740
commit
d2e4b59e60
5 changed files with 50 additions and 9 deletions
|
@ -107,6 +107,7 @@ pub(crate) struct IndexItem {
|
|||
pub(crate) parent_idx: Option<usize>,
|
||||
pub(crate) search_type: Option<IndexItemFunctionType>,
|
||||
pub(crate) aliases: Box<[Symbol]>,
|
||||
pub(crate) deprecation: Option<Deprecation>,
|
||||
}
|
||||
|
||||
/// A type used for the search index.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue